Tuesday Thursday
01:30 PM - 02:50 PM
Answer all questions correctly (2 points each) | 20 pts |
Total | 20 pts |
Perform each of the tasks described below from your home directory and record the command(s) used to complete each task in a text file.
- Create three subdirectories directly under your home directory. Name them: first, next, and last.
- Copy the files you created during a previous lab (Names, Names_too, and Names_all) into each of your new directories.
- In the "first" directory, rename "Names" to "Friends".
- Move the "Friends" file to your home directory.
- Delete the "Names_all" file from the "last" directory.
- Determine the access permissions for all files in the "next" directory and note them here.
- Make your home directory your current working directory.
- Display the "Names_all" file in sorted order.
- Display the "Names_all" file in reverse order.
- Remove all the subdirectories you created during this lab exercise.