You are compiling some software from source. After running ./configure with the appropriate
arguments and no errors, what is the next command to run?
You have two shell scripts, foo and bar. You wish to have bar execute if foo returns an exit status
of 0 Select the correct command:
In order to append the output of ls to a file called bazz, which of the following command lines
would you use?
Which command is used to dump files in octal format?
You have created a really long letter and after you are done, you notice that you used the name
“Bob” many times but your forgot to capitalize it in many instances. Which command would you
replace “bob” with “Bob” in all instances and generate a new letter for printing?
You are logged in as user tux1, but now you want to switch users to tux2 with tux2’s environment.
How would you do this?
You wish to kill a process with a PID of 123. Select the command which will allow the process to
“clean up” before exiting.
You have read/write permission on an ordinary file foo. You have just run ln foo bar. What would
happen if you ran rm foo?
Which command will print line numbers before each line in a file?
You need to create a simple hierarchy of directories: images/photos/summer/ottawa/. None of the
directories on that path exists. What command will create all of the needed directories in one step?