CIS 210 Homework Assignment #12

Due: Friday, May 2, 2008 by 3PM

Name:
Email:

NOTE: To copy and paste in the Unix environment the following may be used:
  1. What shell are you currently using? How did you determine this? (1pt)

  2. What is the purpose of the .cshrc file in your home directory (in your own words)? (1pt)

  3. Show the last six entries in your shell's history. What command did you use to get this output? (2pts)

  4. How can you repeat the last command you entered? (1pt)

  5. How could could you repeat the 11th command you entered? (1pt)

  6. Create a command alias named "ltl" that will run "ls -lhrt" when entered in your shell. What command did you enter to do this? (2pts)

  7. How would you create a custom prompt that would display your username along with the current time? (1pt)

  8. How would you make it so that the prompt you created in the previous question will be available every time you log in? (You do not need to make this change, just explain how it would be done.) (1pt)

last updated: 30 Apr 2008 14:39