Logo 
Search:

Technical Conversation of Kashmir

 
Enter your message (HTML allowed after you earn 150 points)
Kashmir Alsaidi
  Kashmir Alsaidi from United States    May 09
Write a shell script application that will
a.Takes (one argument) - a directory name from the user.
b.Print an error / usage message if the number of arguments is more or less than one.
c.Print another message if the argument is not a directory.
d.For the given directory, print the five biggest files and the five files that were most recently modified. save the output to a file called Output
e.Sort the files in the directory by file size and save the file names to two files called Large files , Small Files