Question
Start recording Display the current date and time Display who is logged in Create hw1 directory in your root directory Change the access rights of
-
Start recording
-
Display the current date and time
-
Display who is logged in
-
Create hw1 directory in your root directory
-
Change the access rights of this directory as follows:
-
User: read-write-execute
-
Group: read-write
-
Others: read-execute
-
Direct the detailed listing of your root directory to the file root.txt
-
Copy root.txt file to the current directory with the name root2.txt
-
Sort the root2.txt from the file size in descending order and store the result in sorted.txt
-
Concatenate files root.txt and root2.txt into the file joint.txt
-
Display the content of the file root2.txt
-
Rename root2.txt as newroot.txt
-
Copy newroot.txt file to the hw1 directory with the name root3.txt
-
Change current directory to hw1 directory
-
Create the hold subdirectory in hw1
-
Create the temp subdirectory in hw1
-
Copy root3.txt into temp directory with the name root4.txt
-
Move root3.txt into hold directory with name root5.txt
-
Delete root5.txt while you are in hw1 directory
-
Delete hold directory
-
List the detailed contents of hw1 directory
-
Clear the screen
-
Go back to your root directory
-
Display the current working directory
-
Stop recording
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