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

Question 1- In engineering applications it is often necessary to fit a straight line to a set of N points with known coordinates (xi, yi), where i indexes the points (N in total).

basic steps involved in spreadsheet developement

Plan, design and dry run a program for the Little Man Computer (LMC) that produces the same result using a fixed number of 10 iterations.

One of the main strengths of the Perl programming language are its powerful text manipulation features. In this assignment, you will put them to use for writing a Perl program tha

We want to create a structure that will represent a deck of cards  (not necessarily full). Each card has a character (between  '2'  to  '9' and  'T',  'J',  'Q',  'K',  'A') and a

I need help with some simple matlab statements

Question: (i) All Security authentication mechanism that run on the TRU64 Unix Operating system run under the Security Integration Architecture (SIA ) layer. Explain with di

A hardware store sells the following hardware tools: screwdriver, wrench, and tape measure. You are asked to calculate the profit for the store based on the number of tools sold an

How does a program provide "input" to one of its functions?