Chapter 3 (Using the Shell) Flashcards
A — is like a program or a macro
Script
A — is essentially a list of commands stored in a text file.
Script
The default shell for all Linux systems is —
Bash
Changing to a new default shell is very easy using the — command.
usermod
The – — records each command that you enter at the shell prompt.
Command History
The — command displays the entire history list, which normally includes at least — commands
History, 1000
A exclamation point is sometimes called a – in unix and Linux
bang
The — script contains configuration information that applies to every user on the system.
/etc/profile
Each users home directory can contain another start-up script called—
.profile
The — script is executed each time the user starts a bash shell.
.bashrc
(Bash Scripts)
— is executed each time a bash shell is started.
.bash_default
.bash_login
(Bash Scripts)
— is executed each time a user closes a bash shell
.bash_logout
A — is a string of characters that is substituted for another string of characters at the shell prompt.
Alias
The — command lets you define how the shell will substitute one string of text for another string of text that you enter at a shell prompt.
Alias
(Alias example)
alias muont=mount