Changes

Jump to: navigation, search

OPS235 Assignment 1 Fall 2013

768 bytes added, 09:11, 6 February 2010
no edit summary
#Display a list of all the files under the <code>/var</code> 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 <code>/boot</code> directory and all its sub-directories that were last modified more than 6 days ago
 
Put each set of commands in a separate file. Name the file for task (1) as ass1-1, task (2) as ass1-2, etc. It must be possible to run these script files simply by typing their name (set the permissions appropriately).
 
==To sudo or not to sudo==
 
'''Study the man page for the <code>sudo</code> command and:'''
 
#Update sudo's configuration file (using the proper program) to allow your Learn account to run <code>sudo</code> for the following commands as <code>root</code>: (8 points)
#*<code>mount</code>
#*<code>route</code>
#*<code>ifconfig</code>
#*<code>chown</code>
#Create a new user called <code>helpme</code> and allow this user to run <code>sudo</code> for the following commands as your learn account: (4 points)
#*<code>head</code>
#*<code>grep</code>
9
edits

Navigation menu