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
Explain about non-login shell files?
How important is shell scripting?
wats the deinitions for shell utility and filter?
I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?
What is k shell?
Is cmd a shell?
What is in a script?
What are the advantages of using shell scripts?
What is the difference between break and continue commands?
What is the use of "$#" in shell scripting?
Write down the syntax of "for " loop
Explain about sourcing commands?
Hello all, This is my assignment on shell scripting, can anyone help me regarding this ? Create a shell script which connects to the database In second shell script include the first script for the DB connection Create a table (PRADEEP_DATA) with 2 columns (name, value) In Third shell script include the first script for the DB connection And insert/delete the values from the Table, by accepting input from the user This functionality should be a menu driven Program: 1) Insert to the database a. Name b. value 2)Delete from the database a.Name b.value Exception handling needs to be taken care.
What is a program shell?
Is powershell a bash?