CIS 2101 Homework Assignment #12
Due: Friday, May 8, 2009 by 9PM
Name:
Email:
NOTE: To copy and paste in the Unix environment the following may be used:
Copy: click on the left mouse button (1) and drag to highlight the area you whish to copy.
Paste: Move the mouse pointer to the location you wish to paste into and click on the middle mouse button (2).
What shell are you currently using? How did you determine this?
(1pt)
What is the purpose of the .cshrc file in your home directory (in your own words)?
(1pt)
Show the last five entries in your shell's history. What command did you use to get this output?
(2pts)
How can you repeat the last command you entered?
(1pt)
How could could you repeat the 9th command you entered?
(1pt)
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)
How would you create a custom prompt that would display the current time followed by your username?
(1pt)
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:
04 May 2009 18:07