Changes

Jump to: navigation, search

OPS235 Lab 6 - Fedora17

No change in size, 09:44, 13 March 2011
no edit summary
# To verify that fedora1 has the correct default gateway configured, enter the command <code>route -n</code>
# Use the <code>find</code> command to locate the configuration files modified by the GUI network configuration program
#: * Previously, you created a file called <code>/tmp/timestamp</code>. Any files that were modified by the GUI network configuration program should have a timestamp later (or newer) than the "timestamp" file you created. All the Linux TCP/IP configuration files are stored under the "/etc" directory or its sub-directories. The following command when run as root will give you a list of all the files under the <code>/etc</code> directory with a file modification date newer than the date of the "timestamp" file:#::**<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.
# Record the answer to the investigation in your lab log.
13,420
edits

Navigation menu