Instructions:
1. Execute the correct commands for all the steps listed below.
2. Take screenshots after completing each step.
3. Submit your screenshots in a single Word or PDF file.
4. Clearly label each screenshot with the corresponding step number.
Steps:
1. Open a terminal window.
2. Display your current working directory.
3. Using an absolute pathname, switch to the /etc directory.
4. Using a relative pathname, move to the /etc/skel directory.
5. Using a relative pathname, move up one directory.
6. List the files in the current directory.
7. Perform a “long display” listing of the files in the current directory.
8. List all the files in the current directory that begin with the letter s.
9. Run the command that will determine the type of contents in the /etc/group file.
10. Display only the last five lines of the /etc/group file.
11. Execute the command to return to your home directory.
12. Make a directory named data in the current directory.
13. Copy the /etc/passwd file into the data directory.
14. Copy the /etc/ppp directory into the current directory (and ignore any “Permission
denied” error messages).
15. Rename the ppp directory that is located in the current directory to peers.
16. Execute the command (ls) to verify the change in the name of the directory.
17. Create a new empty file named test in the data directory.
18. Delete the data/passwd file.
19. Delete the peers directory.
Reflection
For this assignment I performed a series of tasks to manage directories and files in Linux. I learned how to use commands to navigate directories. This assignment gave me hands on experience with managing and files and directories within the terminal.