Changes

Jump to: navigation, search

OPS235 Lab 6 - Fedora17

137 bytes removed, 10:08, 28 February 2012
no edit summary
<ol>
<li value="8">Run the following Linux command: <ul> <li><code>find /etc -newer /tmp/timestamp</code> >/root/netcfg.lst</code></li> </ul> </li> <li>View the <code>/root/netcfg.lst</code>. What does it contain?</li> <li>Create a new directory called <code>/tmp/lab6</code></li> <li>Issue the following command: <ul> <li><code>find command</li> </ul> </li> <li>View the contents of the <code>x</code> file. What does it contain?</li>
</ol>
#**<code>find /etc -newer /tmp/timestamp</code># Capture the output to a file called <code>netcfg.lst</code> under user root's home directory.# Create a new directory called <code>/tmp/lab6</code> and copy all the files from the <code>find</code> command to it.#* There are a number of ways to accomplish this:#** Edit <code>netcfg.lst</code> and turn it into a bash script.#** Copy the files manually using the <code>cp</code> command.#** Investigate the <code>-exec</code> option of the <code>find</code> command to see how to find and copy the files with a single command.
'''Answer the Investigation 3 observations / questions in your lab log book.'''
13,420
edits

Navigation menu