All Flashcards
DEFAULT
list the common shells
bash #The GNU Bourne Again Shell
sh #The Bourne shell upon which bash is based
tcsh #This shell is based on the earlier C shell
csh #The original C shell
ksh #The Korn shell; bourne shell+c shell+extended
zsh #The Z shell takes shell evolution further than the Korn shell
DEFAULT
what is an internal command
a command that is built into the shell program
DEFAULT
what is an external command
a command that is not built into the shell program
DEFAULT
how do you reverse search for a command in your history
ctrl+r
DEFAULT
how do you search for a command in your history
ctrl+s
DEFAULT
how do you terminate a search through your command history
ctrl+g
DEFAULT
how do you move your shell cursor to the beginning of the line
ctrl+a
DEFAULT
how do you move your shell cursor to the end of the line
ctrl+e
DEFAULT
how do you move the shell cursor back one character
Ctrl+b
DEFAULT
how do you move the shell cursor forward one character
Ctrl+f
DEFAULT
how do you delete the character under the shell cursor
Ctrl+d
DEFAULT
how do you delete all text from the shell cursor to the end of the line
ctrl+k
DEFAULT
how do you delete all of the text from the shell cursor to the beginning of the line
Ctrl+x and then Backspace
DEFAULT
how do you transpose the character before the cursor with the character under the shell cursor
ctrl+t
DEFAULT
how do you transpose the two words immediately before (or under) the shell cursor
Esc and then t
DEFAULT
how do you convert text from the shell cursor to the end of the word to uppercase.
Pressing Esc and then u
DEFAULT
how do you convert text from the cursor to the end of the word to lowercase
Esc and then l
DEFAULT
how do you convert the letter under the cursor (or the first letter of the next word) to uppercase; leaving the rest of the word unaffected.
Esc and then c
DEFAULT
how do you launch a full-fledged editor to edit a command at the shell
Ctrl+x followed by Ctrl+e
DEFAULT
how do you set an enviornment variable
VARNAME=VALUE
DEFAULT
how do you save an environment variable across sessions
export VARNAME
DEFAULT
how do you set and save an environment variable across sessions
export VARNAME=VALUE
DEFAULT
what is man section 1
Executable programs and shell commands
DEFAULT
what is man section 2
System calls provided by the kernel