Title: Quiz 3-2 - Shells
Course: CIS 121: Linux/UNIX I: Fundamentals ~ For IGNITE Review

Q: Where will the available shells often be listed?
A: /etc/shells
If wrong: The available shells are often listed /etc/shells

Q: On some Linux systems it is possible for a normal user to change their default shell. What command is used?
A: chsh
If wrong: On some Linux systems it is possible for a normal user to change their default shell. The command use is: chsh

Q: How can you keep from accidentally overwriting a file when using ">"? Do not change the file permissions.
A: set -o noclobber
If wrong: You can keep from accidentally overwriting a file when using ">"by using set -o noclobber

Q: How can you keep from having the system log you out when you hit <ctrl-d>?
A: set -o ignoreeof
If wrong: To keep from having the system log you out when you hit <ctrl-d> use: set -o ignoreeof

Q: What command do you enter to list the directories searched when you enter a command?
A: echo $PATH
If wrong: The command you enter to list the directories searched when you enter a command is: echo $PATH

Q: How do you set your command line prompt to say "Go Blue> "
A: PS1="Go BLUE> " / PS1='Go BLUE> '
If wrong: To set your command line prompt to say "Go Blue> " enter PS1="Go BLUE> "

Q: How do you become the system administrator, a.k.a. "root"?
A: su / su -
If wrong: To become the system administrator, a.k.a. "root" enter su

Q: I want to run a single command, "mkdir /newdir", but I need root privileges. How can I run it without becoming root?
A: sudo mkdir /newdir
If wrong: To run a single command, "mkdir /newdir", without becoming root enter sudo mkdir /newdir