-
What symbols come before an option on the command line?
- or --
-
What is the program the collects the characters you type at the command line?
tty device driver
-
When does this program send what you have typed at the command line to the shell?
when you hit Enter on a PC or Return on a Mac
-
What does the PATH shell variable contain?
the list of directories the shell must search to find the file to run a command
-
Does the shell check that a program gets the arguments or options it needs?
no, that is the responsibility of the program itself
-
If you wanted to run the executable script work.sh
in your current directory without using
bash
, what
would you type at the command line?
./work.sh
-
What is a process?
a running program
-
What does the shell do after it runs the program the user entered at the command line?
it goes into an inactive state called sleep
-
What does a program do JUST BEFORE it stops running?
it sends an exit status to the shell
-
What does an exit status of 0 mean?
it means that the program encountered no errors