Shells in general
Redirection of output
Command line structure
Job Control
Variables
100
Command that changes the default login shell.
What is chsh
100
Redirects standard output to a file
What is >
100
Separates two commands on a command line. Shell doesn’t start the second command until the first completes.
What is ;
100
Starts a job in the background
What is &
100
Command that assigns the string abc to a user-created variable myvar.
What is myvar=abc
200
A way to run the executable file “foo” that is in the current directory, regardless of the PATH.
What is ./foo
200
Redirects standard error to a file
What is 2>
200
Separates two commands on a command line and connects standard out of the first to standard in of the second.
What is |
200
Command that lists jobs running in the background
What is jobs
200
Causes the command interpreter to replace a variable with its value.
What is $ preceding the variable name.
300
Command that runs a script in the current shell.
What is "."
300
Redirects both standard output and standard error to the same file.
What is &>
300
Separates two commands on a command line and puts the first into the background while the second runs in the foreground.
What is &
300
Command that brings a background job to the foreground
What is fg
300
Command that removes a user-created variable
What is unset
400
The Debian Almquist shell that offers improved speed for Bourne Shell scripts
What is the dash Shell
400
Redirects standard output to overwrite a file, even if noclobber is set.
What is >|
400
Allows a command to continue beyond a single line.
What is \
400
Suspends a job that is running in the foreground
What is CONTROL-Z
400
Command that makes the value of a variable permanent.
What is readonly
500
A shell written by David Korn, introduced with System V Unix.
What is the Korn Shell
500
Redirects standard output to appear through standard error
What is >&2
500
As a first character, indicates that a line is a comment.
What is #
500
Command that restarts a suspended job in the background
What is bg
500
Command that sets attributes and values for shell variables.
What is declare or what is typeset