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

  1. What does the ? meta-character match?
    any single character
  2. What does the * meta-character match?
    zero or more occurrences of any character
  3. What do the [ ] meta-characters match?
    a single instance of any character between the brackets
  4. What command would you use to see all files in your current directory whose name began with "foo", followed by another letter, followed by ".txt"?
    ls foo?.txt
  5. What is a built-in?
    a command whose code is part of the shell and does not exist as an executable file on disc
  6. Name the three ways a shell can be started.
    login shell, interactive non-login shell, non-interactive shell
  7. What is the name of the startup file that we will be using in this course, which contains commands that are run when you first log in?
  8. Where are the startup files located?
    in your home directory
  9. What command would you use the find out more about a built-in command?
  10. Are the commands in .bash_profile run when you create a subshell using bash?