IT 244: Introduction to Linux/Unix
Answers to Class 19 Ungraded Quiz
-
What parameter gives the status code returned by the last command run?
?
-
What parameter gives the total number of arguments passed to a script from the command line?
#
-
What parameter gives the full pathname of the script that is currently being run?
0
-
What parameter gives the first command line argument to a script or function?
1
-
If you wanted to use the value of the variable team inside
quotes, what kind of quotes would you use?
double quotes, "
-
If you wanted to remove the value of the variable team,
what would you type at the command line?
team= or unset team
-
What is the name of the first process created when the machine starts?
init or systemd
-
Can two processes running at the same time have the same process ID number?
no
-
Can a process ID number be reused after the process has finished?
yes
-
If the process ID of your current shell is 15062, what is the PARENT process ID
of a shell script you run from your current shell?
15062