write a scwipt that
a) takes exactly one argument, a directory name.
b) if the number of argument is more or less than one,print
a usage message
c) if the argument is not adirectory, print another message
d) for the given directory, print the five biggest files
and the five files that were most recently modified.
e) save the output to a file called q2output.
Answer Posted / syalshidi
practcal withe vmware
unix
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
How do you know which shell I am using?
In my bash shell I want my prompt to be of format '$"present working directory":"hostname"> and load a file containing a list of user-defined functions as soon as I log in, how will you automate this?
What is the meaning of $1 in shell script?
Please give me example of " at command , contrab command " how to use
What is path in shell script?
What is scripting autism?
Which scripting language is best for automation?
Why is it called a shell?
What is difference between bash and shell?
Is shell and terminal the same?
Why is a script important?
How to set an array in linux?
Suppose you execute a command using exec, what will be the status of your current process in the shell?
How can I set the default rwx permission to all users on every file which is created in the current shell?
What is a shell script in windows?