CIS 2101 Homework Assignment #12
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?
What is the purpose of the .bshrc file in your home directory (in your own words)?
What is the purpose of the .user.bshrc file in your home directory (in your own words)?
Show the last five entries in your shell's history. What command did you use to get this output?
How can you repeat the last command you entered?
How could could you repeat the 9th command you entered?
Create a command alias named "ltl" that will run "ls -lhrt" when entered in your shell. What command did you enter to do this?
How would you create a custom prompt that would display the current time followed by your username?
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.)
27 Aug 2012 18:10