Exercise 16: ACME Electronics


Make sure that the /ACME, /ACME/OLD, and /ACME/MONTHLY directories are in place and that the receptionist's user has the necessary permissions to write files to these directories. You should then document the steps for the new employee as follows:

1.

From the KDE kicker, click on the icon of a monitor to open a terminal shell. Optionally, from the menu, select System, Terminal, and then Konsole.

2.

Type the command cd /ACME.

3.

Because all the files within the directory are to be placed in a single file, both tar and gzip must be used. While the commands can be piped, in order to walk a novice user through the process, it is best to do the operation as two separate processes:

 tar cvf july.tar . gzip july.tar 

4.

The command to move the archive file to the desired directory is: mv july.tar.gz MONTHLY.

5.

The command to move all other files to the desired directory is: mv *.* OLD.

6.

Close the terminal session by typing exit.

A quick explanation that "july" should be replaced each month with the current directory should be sufficient to complete walking her through these tasks.



NovellR Linux Certification Practium Lab Manual
NovellR Linux Certification Practium Lab Manual
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 192

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net