CIS 2101 Homework Assignment #11
Due: Friday, May 1, 2009 by 9PM
Name:
Email:
All files created must be saved in /mnt/homes/CLASSES/CIS2101/<username> directory.
Using vi, create a file in your class directory named one.txt. Enter the following information:
Line 1: Today's date
Line 2: Your full name
Line 3: your unix username
Line 4: The hostname that you are working on
Line 5: The current time
Copy the file /mnt/homes/CLASSES/CIS2101/lab11/two.txt to your class directory. Edit the file with vi. Copy the sixth line and paste it three times at the end of the file.
Copy the file /mnt/homes/CLASSES/CIS2101/lab11/three.txt to your class directory. Edit the file with vi. Insert your email address between the fourth and fifth lines. Delete lines numbered 7-11.
Copy the file /mnt/homes/CLASSES/CIS2101/lab11/four.txt to your class directory. Edit the file with vi and delete lines 2, 6, 8-16.
With the file you've edited in the previous problem (four.txt), replace all instances of "vim" with the text "VIM". Remember, UNIX is case sensitive.
Concatenate the above four files, in order, into one file (use the "cat" command) called lab11_all.txt. Please copy and paste lab11_all.txt below.
last updated:
27 Apr 2009 18:39