Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How do you know which shell I am using?

983


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?

1067


What is the meaning of $1 in shell script?

1052


Please give me example of " at command , contrab command " how to use

2720


What is path in shell script?

1023


What is scripting autism?

1154


Which scripting language is best for automation?

886


Why is it called a shell?

878


What is difference between bash and shell?

1006


Is shell and terminal the same?

989


Why is a script important?

985


How to set an array in linux?

1114


Suppose you execute a command using exec, what will be the status of your current process in the shell?

1019


How can I set the default rwx permission to all users on every file which is created in the current shell?

1370


What is a shell script in windows?

1019