IT 244: Introduction to Linux/Unix
Class 18 Ungraded Quiz
-
What is special about a GLOBAL variable?
-
What are the limitations of a LOCAL variable?
-
What would you write on the command line to set the value of the LOCAL
variable named team to Red Sox.
-
If you define a local variable, can a script see the value
of this variable?
-
What would you write on the command line to create the GLOBAL
variable named school and set its
value to UMass Boston.
-
Write the command you would use in a script to ask the user to provide
a value for a variable named dir
-
What command would you use to see all GLOBAL variables?
-
What character would you use if you wanted to run two commands
IN THE FOREGROUND, one right after the
other, on a SINGLE command line?
-
What other two characters allow more than one command to be run on a SINGLE
command line?
-
How can you continue a command onto the next line?