Objective
To practice working in the file system
Instructions
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 lab 2 (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.