IT 244: Introduction to Linux/Unix
Class 26 Ungraded Quiz

  1. If the variable dir_name had the value "hw", how would you use this variable to create the string "hw10"?


  2. What is the value stored in the special parameter $ ?


  3. What is the value stored in the special parameter ! ?


  4. What is the value stored in the special parameter ? ?


  5. What is the value stored in the positional parameter 0 ?


  6. What are the values stored in the positional parameters 1 to n ?


  7. What is the value stored in the special parameters * and @ ?


  8. How are the values of the special parameters set?


  9. What happens after the following command is run in a script?
    shift



  10. What happens after the following command is run in a script?
    shift 2