the graphical environment may be disabled and can be different between each distribution.
correct answers . Why do many administrators choose to use a command line interface on a
Linux server?
It can run without a graphical user interface and can also run multiple shell sessions at the
same time correct answers . What makes Linux different from many other operating systems?
command line interface correct answers What is a shell?
1.1.2 Shell facts correct answers What are the basic differences between common shells?
the Linux shell does not look in the current working directory for a command's executable
file when run from the shell prompt correct answers What is the difference between how
executable programs are run by a Linux shell as compared to a DOS
environment?
executable files do not reside in the current working directory, but is in the directory that is
included within the path environment variable correct answers What is the difference
between how a Linux shell recognizes the path to executable programs compared
to how a DOS environment recognizes the path?
pwd, whoami, uname, su, exit, exec, cd, ls, history, clear, chsh correct answers What
common commands are used to navigate through shells?
file, command, or directory names correct answers What types of items can Tab be used to
complete once you start typing the entities' name?
points to the home directory of the current user correct answers What does the tilde symbol
(~) in the prompt indicate?
man utility shows a command's syntax, options, related files and commands correct answers
What are the differences between the man utility and info utility?
man pages correct answers What types of files are stored in the /usr/share/man directory?
command --help or command -h correct answers How can you access on-screen help for each
command?
to create and modify text files correct answers Why is it important to know how to run a text
editor on a Linux system?
command line mode, edit mode, insert mode, and replace mode correct answers What are the
four different modes available in vim, and how can you tell the current mode?
replace mode correct answers Which vi mode would you use to overwrite existing text?
to have a shortcut to a command correct answers What is the purpose of an alias?
, when a long command is frequently used correct answers When would it be important to
make an alias persistent?
defines a user's computing environment (location of stored files and directories) correct
answers What is the role of environment variables?
env $VARIABLE (example) correct answers What is the standard syntax for environment
variable identifiers?
enter PATH=SPATH:[directory_path] then enter export PATH correct answers How do you
preserve the current values of the PATH environment variable when adding a new value to
it?
export the modified variable correct answers How do you make a new value assigned to an
environment variable persistent across all shell sessions?
scripts that execute when the shell starts correct answers What is a shell configuration file?
/etc/profile , ~/.bash_profile , ~/.bash_login , ~/.profile correct answers . In what order do
configuration scripts execute?
Login shell is the first process that executes under the user ID when logging in to a session. A
Non login shell is started by a program without a login. correct answers What is the
difference between a login shell and a non-login shell?
switches to a user and creates a new login shell correct answers What does the su -l command
do?
Redirection directs a standard input, output and error streams to locations other than the
default. Piping only directs output of one command into the input of another command.
correct answers What is the difference between redirection and piping?
to manipulate information created by shell commands to hide imortant information correct
answers . When might you choose to redirect the input of a command?
standard input(stdin), standard output(stdout), and standard errors(stderr) correct answers
What are the three default file descriptors that Linux uses to classify information for a
command?
command substitution correct answers . How can you overcome the 128 KB shell command
size restriction?
cd / correct answers What is the shortcut to move directly to the home directory when using
the cd command?
rm removes the directory (and file) inode. rmdir only deletes an empty directory. correct
answers What is the difference in function between the rm command and the rmdir
command?
head correct answers How can you display only the first few lines of a file?