subject

Write a script that takes exactly one argument, a directory name. If the number of arguments is more or less than one, print a usage message. If the argument is not a directory, print another 2message. For the given directory, print the threebiggest files and the threefiles that were most recently modified. Display your script on the terminal using the cat command. Test your scriptusing arguments that cover two user error cases mentioned above. Then run your script with /usr/sbin as the input.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:00
Acetylene is a gas which burns rapidly on its own, and is considered highly explosive. a) true b) false
Answers: 2
question
Computers and Technology, 23.06.2019 20:10
Leo is a recruitment executive for a large company. he has identified new labor resource requirements in both the marketing and production departments. what should be his first step in recruiting candidates for the positions? a. conduct background checks of candidates b. make job offers c. arrange interviews d. conduct reference checks e. place job ads on job sites
Answers: 1
question
Computers and Technology, 23.06.2019 22:20
Learning sign language is an example of a(n) learning sign language is an example of a(n)
Answers: 2
question
Computers and Technology, 24.06.2019 17:30
What is the main difference between cloud computing and saas? cloud computing is a platform, and saas is software. cloud computing is software, and saas is a platform. cloud computing is a service, and saas is software. cloud computing is a service, and saas is a platform.
Answers: 1
You know the right answer?
Write a script that takes exactly one argument, a directory name. If the number of arguments is more...
Questions
question
Mathematics, 26.02.2021 17:40
question
Mathematics, 26.02.2021 17:40
question
Mathematics, 26.02.2021 17:40
question
Mathematics, 26.02.2021 17:40
Questions on the website: 13722363