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

  1. What does Bash do when it performs history expansion?


  2. What does Bash do when it performs alias substitution?


  3. Write the command you would use to create the files foo1.txt to foo5.txt using brace expansion and the touch command.


  4. What does Bash do when it performs tilde (~) expansion?


  5. What does Bash do when it performs parameter and variable expansion?


  6. What does Bash do when it performs arithmetic expansion?


  7. What is command substitution used for?


  8. What would you write at the command line to define the alias ll whose value was ls -l ?


  9. Can an alias be made global?


  10. Can a function be made global?