OPS235 Assignment 1 Fall 2013
Revision as of 07:58, 6 February 2010 by Brian.gray (talk | contribs)
OPS235 Assignment #1 -- Winter 2010
Weight: 5% of the overall grade
Due Date: First week after study week.
(Check with your Professor for exact date)
Due at the start of class.
Basic Chores
Complete the following tasks on your system (4 points for each completed task).
- Setup your system so that the command
mount /assigndir
-- executed by any user -- will attach the logical volumeassign-vol
from the volume group calledASSIGNGROUP
(minimum 100 MB) to the mountpoint/assigndir
(The volume should NOT be automatically mounted at boot time) Use/dev/sda5
as the physical volume. - Setup your system login message to say Long Live The Open Source Community (to be displayed on all virtual consoles after the login prompt)
- Setup your system login banner to say Free as in --Free of Charge-- is good too. (User should see this before login to the system)
- Setup your system so that every user has a command alias called
rmtempdir
which will delete the contents of a directory called~/temp
NOT the/tmp
directory.
=Finding your way
Research on your Fedora system to come up with sets of commands to accomplish the following tasks :(5 points for each completed task)
- Display a list of all the files under the
/home
directory and its sub-directories that have been created or modified within the last 2 hours. - Display a list of all the files under the
/etc
directory and all its sub-directories that have been created or modified today (since mid-night). - Display a list of all the files under the
/var
directory and all its sub-directories that have been accessed or modified within the last 20 minutes - Display a list of all the files under the
/boot
directory and all its sub-directories that were last modified more than 6 days ago