Links when you do the following commands


1. Create a directory called 'memos' in your HOME directory
2. Using the vi editor, create a file called myfile in your HOME directory
3. Using the cat command, append myfile a few times to create a large file (Say, 10 pages) Call this file large
4. Using the pg command and its options, view large on the screen
5. Using the pr command and its options, format large on the screen
6. Use co command to copy all files in your HOME directory to the memos directory.
7. Use the ln command to create another name for large
8. Using the mv command, change the name of large to large.old
9. Using the mv command, move large.old to memos
10. Use the is command and the -i and -l options to observe the changes in the i-node numbers and the number of the links when you do the following commands
a. Change to the memos directory
b. Create another name for myfirst; call it MF.
c. Copy myfirst to myfist.old
d. List all files whose filenames starts with my
e. List all files that have extension old
f. Modify myfile. Look at the MF file, myfile modifications are also in MF file.
g. Change to your HOME directory
h. Delete all files in the memos directory that have the word file as part of their file names
i. Delete the memos directory with all of the files remaining in it
j. List your HOME directory
k. Remove all the files you created in this session
11. Show the last five lines of a file
12. Display the first five lines of a file
13. Save the last 30 characters of a file in another file
14. Save the list of all the files that are seven days old, starting from your HOME directory 

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Links when you do the following commands
Reference No:- TGS089919

Expected delivery within 24 Hours