Chapter 2 Take-home Quiz

1. What is a shell?
2. Name 5 different shells.
3. Describe 2 applications that shell scripts are typically used for.
4. what do the following commands do: ls, pwd, echo, eval, cat, sort, uniq, sleep, kill
5. Not counting the commas, what do the following characters do in command language: *, ?, [], $, >, |
6. name one use for the grep command.
7. what does the following command do:
            % sed 's"honey"marmalade"g' old.txt > new.txt
8. If the following commands are executed, what will be printed out to the screen? (Assume that $SHELL = ksh.)
      % set nowshell = "echo 'my shell is $SHELL' "
      % eval $nowshell
9. What is a parent process?