Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

  1. Start recording

  1. Display the current date and time

  1. Display who is logged in

  1. Create hw1 directory in your root directory

  1. Change the access rights of this directory as follows:

  1. User: read-write-execute

  1. Group: read-write

  1. Others: read-execute

  1. Direct the detailed listing of your root directory to the file root.txt

  1. Copy root.txt file to the current directory with the name root2.txt

  1. Sort the root2.txt from the file size in descending order and store the result in sorted.txt

  1. Concatenate files root.txt and root2.txt into the file joint.txt

  1. Display the content of the file root2.txt

  1. Rename root2.txt as newroot.txt

  1. Copy newroot.txt file to the hw1 directory with the name root3.txt

  1. Change current directory to hw1 directory

  1. Create the hold subdirectory in hw1

  1. Create the temp subdirectory in hw1

  1. Copy root3.txt into temp directory with the name root4.txt

  1. Move root3.txt into hold directory with name root5.txt

  1. Delete root5.txt while you are in hw1 directory

  1. Delete hold directory

  1. List the detailed contents of hw1 directory

  1. Clear the screen

  1. Go back to your root directory

  1. Display the current working directory

  1. Stop recording

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

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

Students also viewed these Databases questions

Question

Customers have to repeat information they have already provided.

Answered: 1 week ago

Question

LO4 Identify a system for controlling absenteeism.

Answered: 1 week ago