-
If you have a copy of the executable script
bother.sh in your current directory,
what would you type at the command line to run this script in the
background?
./bother.sh &
-
If a command is running in the background, can it take input from the keyboard?
no
-
What would you type at the command line if you wanted to suspend a job running in the foreground?
Control Z
-
What command would you use to see all currently running jobs?
jobs
-
When using the
kill
command to stop a running job, what information do you give to tell it what to kill?
either the job number or the process ID
-
What does the ? meta-character match?
any single character
-
What does the * meta-character match?
zero or more occurrences of any character
-
What do the [ ] meta-characters match?
a single instance of any character between the brackets
-
What is a built-in?
a command whose code is part of the shell and does not exist as an executable file on disc
-
What command would you use the find out more about a built-in command?
help