Chapter 5 Flashcards
A Linux command line, or blank as it’s properly called, is a program.
shell
You can start a shell in a GUI window called a blank, or you can log into the computer locally via a text-mode console.
terminal program
The default shell in most Linux distribution is the blank.
Bourne Again Shell (bash)
Linux supports blank which are virtual screens that can hold various types of information - textual or graphical
virtual terminals (VT)
How can you switch between VTS?
Ctrl+Alt+Fn(FN key for VT number)
How do you terminate your text-mode session?
Type exit or logout
Blank is the name of the command used to run the program
COMMAND-NAME
Blank are additional items added to modify the command’s behavior
[OPTION]s
Blank is an item you pass to the command to let the program know you want to operate on that item.
[ARGUMENT]
The blank program displays which users are currently on the system
who
What is the command to show when the program was started?
who -b
What command is short for concatenate and accepts arguments?
cat
What command is used to display the contents of MyFile.txt?
cat MyFile.txt
What command adds line numbers and displays contents of MyFile.txt?
cat -b MyFile.txt
What command allows you to learn command usage details?
man
What is the command to learn about the cat command?
man cat
What command displays information on the computer’s use of memory?
free
What command will result in a common-delimited set of directory names, which the shell searches in sequence whenever you type a command that it doesn’t handle directly
echo $PATH
How can you run a program that is not in one of the PATH directories?
By typing the program’s directory location along with its name
When you run an executable program. that is not located in the PATH, it is called blank outside the defined path.
invoking a command
If you would like to determine how an executable program would be handled, what command would you type, which will show you the program’s directory location?
type [executable_program_name]
type free
When you launch a GUI program from the terminal window, the GUI program opens its own window and the terminal program becomes blank.
unresponsive
What keystroke allows you to suspend a GUI program run from the terminal to allow you to run more commands in the terminal?
Ctrl+Z
After you suspend a program, if you want both to run the GUI program and use the terminal from which you launched it, you can type blank in the terminal and both programs will be active.
bg