Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please solve all the steps, it's Linux related question. its very urgent. try to solve part 3, and 4 aswell d. Rename names.txt to new-names.txt.
Please solve all the steps, it's Linux related question. its very urgent.
try to solve part 3, and 4 aswell
d. Rename "names.txt" to "new-names.txt". (Include a screenshot of the command and the result based on the mentioned format in the deliverable section) e. Move "file1.txt" and "file2.txt" to the "sub2" folder by issuing only one command. (Include a screenshot of the command and the result based on the mentioned format in the deliverable section) f. Copy "file1.txt" and "file2.txt" into the "sub1" folder. (Include a screenshot of the command and the result based on the mentioned format in the deliverable section) g. Show the entire hierarchy using a command shown during the virtual class. Hint: I used a command which shows the tree like structure only for lab1 directory. (Include a screenshot of the command and the result based on the mentioned format in the deliverable section) h. Remove the entire lab1 hierarchy by issuing one command. Hint: you might find the "rm" command useful here. (Include a screenshot of the command and the result based on the mentioned format in the deliverable section) 2. Issue a command to show the entire commands you have issued so far. Use the following command: history > myhistory.txt You need to download the file using the command method not presented graphical utilities. Include a screenshot of the command and the result based on the mentioned format in the deliverable section) 3. I have shown 3 different ways to logout from a remote terminal. Take a screenshot of each method with an appropriate annotation above each screenshot which explains the method. Through this task, you will create the following hierarchy in your home folder. Note that black boxes represent directories and white boxes represent files. During this task, do not change your current working directory. In other words, your current working directory should be your home directory. a. "lab1/sub1" and "lab1/sub2" should be created by issuing one command (both directories are created simultaneously). (Include a screenshot of the command and the result based on the mentioned format in the deliverable section) b. Use separate commands to create "names.txt", "file1.txt", "file2.txt", and "file3.txt" using the "cat" command. The content of files is optional but do not make empty files. (Include a screenshot of the command and the result based on the mentioned format in the deliverable section) c. Show the content of "file1.txt" and "file2.txt" by one command (both files will be shown by issuing a single command). (Include a screenshot of the command and the result based on the mentioned format in the deliverable section)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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