Review Questions

 < Day Day Up > 



1. 

What does the ? designate?

a single character wildcard.

2. 

What line must all shell scripts end with?

exit 0

3. 

What would you type in to invoke a script named myscript.sh?

bash myscript.sh

4. 

What is a variable?

a name designating an address in memory to hold data.

5. 

What is a UDV?

a user-defined variable.

6. 

What does the echo command do?

displays to the screen

7. 

What does fi do?

finishes an if statement

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 > 



Moving From Windows to Linux
Moving From Windows To Linux (Charles River Media Networking/Security)
ISBN: 1584502800
EAN: 2147483647
Year: 2004
Pages: 247
Authors: Chuck Easttom

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net