CSE271: Short Quiz #6

  1. (2 point) Your name and date

  2. (2 points) What does the -k option of the Unix man command do?

  3. (3 points) When a user includes an argument with wildcards to a program (such as more a*.txt), where does the expansion and matching take place -- in the program or the shell?

  4. (3 points) What will the following bash script snippet generate as output, if you were to run it?
      cat << FINISH
      Hello $LOGNAME
      FINISH
      echo Goodbye $LOGNAME
      


Last revised: 8 March 2013, Brian D. Davison.