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

What is an inode block?

1113


What is shift command in shell script?

1090


What is bash eval?

1060


What is the meaning of $1 in shell script?

1158


What is the difference between grep and egrep?

1189


how to print the 2-d, 3-d arrays in unix shell script programs please answer thi questio to my mail venusaikumar@gmail.com

2608


What is the best scripting language?

1075


What does debug script mean?

1019


How to write a function?

1073


What is bash command used for?

1114


c program to display the information of given file similar to givan by the unix or linux command ls -l

2260


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

2841


How do I stop script errors?

1211


How will you pass and access arguments to a script in linux?

1240


How do I open the shell prompt?

1244