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
The Lost Bay Software Coop purchased EnviroMeasurements, a small startup with a product, GreenStation, that measures pollen count and air quality. The company has ventured

,how to write matlab program for fast decoupled method

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

Characteristics of procedure-oriented programming: Emphasis is on doing things (algorithms). Large programs are divided into smaller programs known as functions.

Write a program to read a text file and create a dictionary. The keys for the dictionary should be all 26 letters of the alphabet and the values of the dictionary should be the lis

how to get the HORIZONTAL motion field from motion vectors matrices

Write a program that takes names of 5 students in 2D Character Array and their GPAs in 1D array. Arrange the names in alphabetical order and display on screen along with GPA.

* Comments in your code are required * Main Program Operation:  # Your program should first prompt the user for an integer to seed the random number Generator. "Enter an seed

In this question we will de ne a function for sorting lists based upon the algorithm selection sort. First, de ne a function smallest which takes as input a list of integers and r

Why no Audible support for Linux? Maybe they should use a browser interface?