IT 244: Introduction to Linux/Unix
Quiz 1 Answers

  1. What command would you use to keep a record of every command you type and the output of those commands?
    script
  2. What key would you press to get the last command you typed?
    up arrow
  3. What keys would you hit to go to the beginning of the command line?
    Control A
  4. How do you you abort a running program?
    Control C
  5. What would you type at the command line to get the man page for the ls command?
    man ls
  6. If you wanted to use one of the characters that have special meaning to Unix in a filename, what TWO things could you do?
    put a backslash in front of it or quote it
  7. What would you type on the command line if you wanted to go to the directory /home?
    cd  /home
  8. What would you type at the command line to delete the file named memo.txt?
    rm  memo.txt
  9. What would you type at the command line to copy the file named memo.txt to memo.bak?
    cp  memo.txt  memo.bak
  10. What would you type at the command line to move the file named memo.txt into the directory named work?
    mv  memo.txt  work