IT 244: Introduction to Linux/Unix
Answers to Class 19 Ungraded Quiz

  1. What parameter gives the status code returned by the last command run?
  2. What parameter gives the total number of arguments passed to a script from the command line?
  3. What parameter gives the full pathname of the script that is currently being run?
  4. What parameter gives the first command line argument to a script or function?
  5. If you wanted to use the value of the variable team inside quotes, what kind of quotes would you use?
    double quotes, ""
  6. If you wanted to remove the value of the variable team, what would you type at the command line?
    team=  or unset team
  7. What is the name of the first process created when the machine starts?
    init or systemd
  8. Can two processes running at the same time have the same process ID number?
  9. Can a process ID number be reused after the process has finished?
  10. 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?