Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PART 3 : Learn about commands to navigate the directory tree structure while creating files and directories. While in your user's home directory, use the
PART : Learn about commands to navigate the directory tree structure while creating files and directories.
While in your user's home directory, use the ls l command to view the contents of the directory.
Take a mental note of which directories are part of the Linux Filesystem Hierarchy Standard FHS and those that are not refer back to the learning materials for this module
Use the mkdir test command to add a new directory in your home directory.
Use the cd command to change into the test directory that you just created in the previous step.
Use touch file to create a new empty file in the test directory.
Use the ls command with a single option flag to view the details of fileIf you can't remember which option is used to view the details, what can you do to view the available options for that command?
Use rm file to delete it
Exit the test directory and return to its parent directory.
Use rmdir test to delete it
Use the mkdir command to add a directory named test in your home directory.
Copy the etcpasswd file to the ~test directory so a copy of etcpasswd is stored at ~testpasswdbak
Use one command to verify that the copy of etcpasswd was successfully made to ~testpasswdbak while also indicating that it is not empty. The output of this command must consist of only two short lines.
Take a screenshot filename: screenshot of the above activities.
Clear the shell with the clear command.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started