Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Navigate to your home directory by typing cd. Now type ls and notice that there is a subdirectory called Downloads. Now navigate to the

1. Navigate to your home directory by typing cd. Now type ls and notice that there is a subdirectory called Downloads. Now navigate to the root of the file system by typing cd /. From here, which single command would you use to navigate directly to the Downloads folder that is located in your home directory? The output of the command would be as follows: 2. From the Downloads directory which single command would you use to navigate back up one directory and then back down into the Music directory? Which command can you use to ensure you are located in the home/sysadmin/Music directory? 3. Navigate back to your home directory. Which single command would you use to get a listing of all the files in that directory, including the hidden files, that also lists additional information about the files such as the time they were last modified and the files permissions? Partial output of the command would appear as follows:

4. Navigate to your Documents directory and type touch myfile. Now navigate back to your home directory. From here what command would you use to get a listing of all the files in the Documents directory? The output of this command would appear as follows: 5. Navigate to the /home directory. From here what command would you use to get a listing of the contents of this directory, as well as all the contents of all the subdirectories? The output of this command would appear as follows: 6. Navigate to your home directory. From here what single command would you use to display all the files that begin with Pi or Vi? The output of this command would appear as follows:

7. What command would you use to make a copy of the passwd file in the /etc directory and save it in your home directory as a file called mypasswd? When you do a file listing after the command you should see something similar to the following: 8. What command would you use to copy all the files in the /etc directory that start with the letter s and end with the letter s to your home directory? When you do a file listing after the command you should see something similar to the following: 9. What command would you use to delete all the files in your home directory that consist of exactly eight (8) characters? When you do a file listing after the command you should see something similar to the following: 10. What command(s) would you use to copy all the files in the /etc directory, including all the files in subdirectories underneath /etc, to a new directory in your home directory called MyEtc while also telling you what is being done as it happens? When you do a file listing after the command you should see something similar to the following:

11. In your home directory, create a file called thefile by entering the command touch thefile. What command would you use to rename thefile to afile? When you do a file listing after the command you should see something similar to the following: 12. What single command would you use to make a duplicate copy of afile called yourfile? When you do a file listing after the command you should see something similar to the following: 13. What single command would you use to delete both afile and yourfile at the same time? When you do a file listing after the command you should see something similar to the following:

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

2nd Edition

0470624701, 978-0470624708

More Books

Students also viewed these Databases questions

Question

=+Show that all periodic functions have distributions.

Answered: 1 week ago