|
| < Day Day Up > |
|
| 1. | What does the ? designate? | |
| 2. | What line must all shell scripts end with? | |
| 3. | What would you type in to invoke a script named myscript.sh? | |
| 4. | What is a variable? | |
| 5. | What is a UDV? | |
| 6. | What does the echo command do? | |
| 7. | What does fi do? | |
Answers
| 1. | A single character wildcard. |
| 2. | exit 0 |
| 3. | bash myscript.sh |
| 4. | A name designating an address in memory to hold data. |
| 5. | A user-defined variable. |
| 6. | Displays to the screen |
| 7. | Finishes an if statement |
|
| < Day Day Up > |
|