Question: I need the logfile so I can turn it in! Chapter 3 Assignment: You should start with script -a ch3 command to create the logfile
I need the logfile so I can turn it in!
Chapter 3 Assignment:
You should start with script -a ch3 command to create the logfile and exit when you complete.
Create the files and directories in your home directory without changing directories at any time. Create the necessary files (not the directories) using the echo or touch commands as follows:
echo date > directoryname/filenameortouch directoryname/filename
Instructions:
1. Use script to log your session in a file named ch3.
2. Create the directory PROGRAMS
3. Create the following directories in PROGRAMS: REQUIREMENTS, MANUAL, SOURCE, BIN, BACKUP, ARCHIVE, SOURCE/V1, SOURCE/V2, SOURCE/V3, MANUAL/PDF, MANUAL/DOCS, MANUAL/TXT, BACKUP/V1, BACKUP/V2, BACKUP/V3
4. Create the following files (using echo or touch): PROGRAMS/REQUIREMENTS/app44_v3.doc PROGRAMS/MANUAL/DOCS/usermanual_v1.doc PROGRAMS/MANUAL/TXT/usermanual_v1.txt PROGRAMS/BIN/app44_v1.c PROGRAMS/SOURCE/V1/app44_v1.src PROGRAMS/SOURCE/V2/app44_v2.src PROGRAMS/SOURCE/V3/app44_v3.src
5. Create hard links for the files in PROGRAMS/SOURCE/V1 thru V3 to files with the same name in
PROGRAMS/BACKUP/V1 thru V3.
6. Create a compressed archive named v3.zip of the files in PROGRAMS/SOURCE/V3
7. Set your working directory to the directory containing app44_v1.src. Run pwd.
8. Set your working directory to the directory containing app44_v3.doc. Run pwd.
9. Set your working directory to the directory containing usermanual_v1.doc. Run pwd.
10. Stop logging your session and e-mail the typescript file to jkim2 with the subject
Ch3 Assignment
11. Use an sftp client such as filezilla access your home directory and download this logfile. Attach the logfile downloaded to the Black Board link.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
