This quiz contains questions on commonly used Linux/Unix commands. See how well you do!
If you find any issues with this exam, then I'm sorry. I don't word questions the best.
Specifically, this test is geared around Fedora Core 10 using a bash shell.
Man -k ls
Manual ls
Man ls
Lookup ls
Password john
Changepassword john
Passwd
Passwd john
None are acceptable.
The root user has not given him permission to run this program.
He has not granted execute permissions to the file.
It is not a bash script.
He lacks the permission to read the file.
Absolute Path
Relative Path
Related Path
Unknown Path
She does not have permission to enter the "/home/mary/work" directory.
The root user deleted her work directory at "/home/mary/work".
She is specifying an absolute path to a folder which does not exist. She should type "cd work".
She needs to create the directory first.
Calender 2002
Cal
Touch cal 2002
Cal 2002
Passwd
Pwd
Pd
Ls
!
&
*
$
Cd $HOME
CD ~
Cd
Cd ~
If someone comes to his terminal and executes the "exit" command, they become root again.
He specified an incorrect username.
He used the "-" switch.
There is nothing wrong with this...
:s
I
A
R
:wq
It is actually a directory.
The root user is the user and group for this file.
This is a symbolic link.
This file does not have an inode associated with it.
This file has its "setuid" bit set, which means it will execute with root privileges every-time.
It is actually a directory.
The root user is the user and group for this file.
This is a symbolic link.
This file does not have an inode associated with it.
This file has its "setuid" bit set, which means it will execute with root privileges every-time.
Symlink /etc ~
Ls -l /etc ~
Ln /etc ~
Link /etc ~
Ln -s /etc ~
Passwd john
Chkconfig openvpn on
Service network restart
Iptables -L
Echo $PATH
Nothing, the command does not exist.
Prints your current environmental variables to standard out.
Sets an environmental variable.
Configures your network settings.
Bash [email protected]
Remote-shell [email protected]
Shutdown the system
Start X11.
Shutdown X11.
Restart the system.
Nothing, this command would return an error saying "test" does not exist.
Redirected the output of the "cal" command to the file from standard out to a file called "test", overwriting the old file if it existed.
Redirected the output of the "cal" command to the file from standard out to a file called "test", appending to the end of the file if it existed.
Use the file "test" as the input for the cal command, overriding the keyboard.
Nothing, this command would return an error saying "test" does not exist.
Redirected the output of the "cal" command to the file from standard out to a file called "test", overwriting the old file if it existed.
Redirected the output of the "cal" command to the file from standard out to a file called "test", appending to the end of the file if it existed.
Use the file "test" as the input for the cal command, overriding the keyboard.
Nothing, Hiro needs to be the root user.
All processes on the system.
All processes owned by Hiro.
Only the processes on the current terminal session.
Runs "cat p1.c" and "less" separately, showing the output of each after both are finished executing.
Redirects stdout of "cat p1.c" to the stdin of "less".
Redirects stdout of "cat p1.c" to the file "less".
Runs "less" in the background, so you may perform other tasks.
Is the equivalent of "less p1.c".
The command will auto complete without any further input, just press enter.
Press alt to auto complete the entry.
Press tab to auto complete the entry.
Stare at it until it chooses to auto complete.
Chmod 000 test
Chmod -x test
Chown root:root test
Chgrp nobody test
Cat f1 | less
Less < f1
Less > f1
Cat f1 | less > /dev/null
Less f1
Quiz Review Timeline +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.