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 python script that will take two file names as input (src, dest). Open src reading each line in the file, and replacing any occurrences of name with the string "redacted".

Define an Example of Switch Statement? estimate(number) int number; /* Estimate a number as none, one, two, several, many */ {       switch(number) { case 0 :

Translate the following formula into a prefix form expression in Scheme: Question 2 Define a procedure that takes three numbers as arguments and returns the sum of the squ

Need support in Mobile app using AngularJS, Cordova (PhoneGap), Ionicframework We need an experienced front-end developer with a obsession for performance in mobile environment.

NOTE: You will only submit the University.java and EmptyFileException.java files (inside P3.zip/tar) NOTE on null objects:. From Project 1: Since the array of students in the Cou

1.  Develop HTML code to create a Web page with the red background and title "My First Page" in any other color. 2.  Develop an HTML document with details of your name, telephon

( Airline Reservations System ) A small airline has just purchased a computer for its new automated reservations system. You have been asked to develop the new system. You are to w

Expertsmind.com is expert in java assignment help JAVA Virtual Machine A Java exclusive device or java virtual machine (JVM) is an exclusive device able of undertaking Jav

How and where to start to develop a preprocessor for java

Objective: The purpose of this programming project is to explore page replacement algorithms. This can be accomplished by developing a simple simulator that implements various pag