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

  1. What command would you run to see the last 20 commands you ran at the command line?

  2. What is the pathname of the file that, by default, stores the commands you have run in a file so that they will be remembered for the next time you log in?

  3. What command would you use to edit the last command to run, change it and run it again?

  4. What is the name of the library of procedures that allows you to edit the command line?

  5. Name the three things that can be completed at the command line by hitting Tab.

  6. What kind of quotes should you use when defining an alias?

  7. What would you write at the command line to create the alias ghdir which changed directory to my home directory?

  8. Can you write a function on a single command line?

  9. Can aliases be made global?

  10. Can functions be made global?