Shell script to print the name of file that has maximum size, Programming Languages

W.A.S.S to print the name of the file that has maximum size.

 

Program

 

         # W.A.S.S to print the name of the file that has maximum size.

 

ls -lS | tr -s " "|cut -d " " -f9|head -n2

 

Output

 

         Base.sh

Posted Date: 9/26/2012 8:04:25 AM | Location : United States







Related Discussions:- Shell script to print the name of file that has maximum size, Assignment Help, Ask Question on Shell script to print the name of file that has maximum size, Get Answer, Expert's Help, Shell script to print the name of file that has maximum size Discussions

Write discussion on Shell script to print the name of file that has maximum size
Your posts are moderated
Related Questions
Write a function that converts a character array to a signed floating point number. Function prototype must be as follows: int asciiToFloat( char *str, unsigned char* eflag) Follow

Write a Prolog predicate remove_nth(N,L1,L2) that is true if list L2 is just list L1 with its Nth element removed. If L1 does not have an Nth element then the predicate should fail

Class a Abstract Data Type: is a template for creating objects. A class describes a collection of related objects i.e. instances of the classes. Basically classes are user-defined

Question: (a) How do you implement the following in ASP.NET: (i) Server-side Comments (ii) Server-side Include Directives. (b) What is the purpose of a HashTable? (

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Am unable to write to file of type=file in perl script.It does not have any extension.Help me..

Write a program to calculate amount after n number of years by inputting principal at the rate of 8% interest.

How to run java program?

these 8 numbers (15, 20, 25, 30, 35, 40, 45, and 50) with using conditional jump

The aims of this assignment are to:    Provide experience in the use of a modern Integrated Development Environment (specifically NetBeans running on a Linux platform) for t