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, 23.06.2019 04:31
Jennifer has to set up a network in a factory with an environment that has a lot of electrical interference. which cable would she prefer to use? jennifer would prefer to use because its metal sheath reduces interference.
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
Which statement is true of web-based social media? a.they allow consumers to interact with and update content. b.they cannot be updated easily, as compared to print media. c.they are expensive to produce and maintain, as compared to print and television. d.they can exist independent of the internet.
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
Amitha writes up a one-page summary of a novel during her summer internship at a publishing company. when she reads over the page, she realizes she used the word “foreshadow” seven times, and she would like to reduce the repetition. which tool would best amitha solve this problem?
Answers: 3
question
Computers and Technology, 24.06.2019 03:30
It is not necessary to develop strategies to separate good information and bad information on the internet. true or false
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, 10.01.2021 22:50
question
Chemistry, 10.01.2021 22:50
question
English, 10.01.2021 22:50
question
English, 10.01.2021 22:50
question
Mathematics, 10.01.2021 23:00
question
Mathematics, 10.01.2021 23:00
Questions on the website: 13722362