Class 11 Quiz Flashcards
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
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 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
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