Answered step by step
Verified Expert Solution
Question
1 Approved Answer
i. In the tmp directory, create a new directory, called Assignment1. ii. List the contents of the new directory you created. Take a screenshot of
i. In the tmp directory, create a new directory, called Assignment1. ii. List the contents of the new directory you created. Take a screenshot of your terminal window showing the above steps and include the screenshot in your submission. (20 pts) iii. Then using the cat command, create a new file called yourfirstname.txt. Note that you can use CTRL-D to terminate the cat command. iv. Then, list the entries of Assignment1 directory where the file was created. Take a screenshot of your terminal window showing this step and include the screenshot in your submission. (20 pts) v. Next, write text of your choosing, to the new file you created, using the cat command. (Hint: Here, you may need the greater-than character (">") added to the end of the command line, followed by the name of the file you wish to write to.) vi. Use appropriate Linux command to display the contents of the new file which you wrote to. Take a screenshot of your terminal window showing this step and include the screenshot in your submission. (20 pts) vii. Next, use appropriate Linux command to display detailed (long) listing of the contents of the Assignment1 directory. Take a screenshot of your terminal window showing this step and include the screenshot in your submission. Starting from column 3, interpret the displayed details of the new file you created. Section 2.3 of the course text would be a good resource, here. (20 pts) viii. Remove the Assignment1 directory you created. Take a screenshot of your terminal window showing this step and include the screenshot in your submission. (20 pts)
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