Quiz 2 Intro to Linux
What is . ? A directory A file a period The home directory
A directory
What is the keyboard shortcut to end a running program? Ctrl+C Ctrl+Z Ctrl+A Ctrl+R
Ctrl+C
Can you look at . using the cat command? Yes. No.
No
What is the output of the bash command man cd? Need subcommand. Try '-h' for options. No manual entry for cd It displays the man page for cd What manual page do you want?
No manual entry for cd
In the game Terminus, where do you find the Pony? MIT Northern meadow Western Forest Trick question. There is no pony.
Northern meadow
What will the output of the bash command below be? echo $HOME The file path of the home directory $HOME The $ will cause a syntax error $HOME $HOME
The file path of the home directory
Enter the command cd .. An error message You create a directory called .. You move in the directory structure to the directory containing your current directory ... happens
You move in the directory structure to the directory containing your current directory
Enter the command cd blah. What happens? changes to the blah directory creates a new directory named blah bash: cd: blah: No such file or directory 3. 3 is what happens.
bash: cd: blah: No such file or directory
Which command will allow you to change directory? ps -ax ls pwd cd
cd
What is the password to the AthenaCluster? i3rkRd terminus rosebud
i3rkRd
Which is not a way to convert lowercase letters to uppercase? tr '[:lower:]' '[:upper:]' tr a-z A-Z tr lowercase uppercase tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ
tr lowercase uppercase