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
A traveler wants to purchase a number of traveler''s checks, each having a set amount for four different currencies: Mexican pesos, Euro dollars, Swiss francs, and US dollars. A t

Define a Prolog predicate flatten(List, FlattenedList)  that asserts List  is any nested list of atoms and  FlattenedList  is the same list with the nesting removed. The atom [] sh

Pascal program: Exactly what you need to do to generate your empirical data is specific to your individual assignment. However, some rules apply to all of you: 1. The gener

Question 1: a) Assume that B is an array of 50 words; write a code which will place the smallest integer of array B in register AX. b) Write a small code (only three instr

SailDublin Ferry provides ferries to mainland Britain, Europe and America. Having observed the success of Irish ferries and Stennaline online booking system; SailDublin ferry has d

MVC Architecture Model/view/controller (MVC) is a program structure, currently regarded an executive design used in program technological innovation. The design isolates "domain lo

Let us say we have a list of 10 animal objects called "animals" in Alice. Write the code to move them forward synchronously by 1 meter.

XML Publishing. Consider the following relational data: Products: pid Name Price Description 323 gizmo

Write an assembly program that computes Fibonacci numbers 2-5. a. Assume Fib(0)=0 and Fib(1)=1. b. Store Fib(2) in EAX, Fib(3) in EBX, Fib(4) in ECX and Fib(5) in EDX. c. Use a LOO

On-line fair and ethical share trading system (Olfest) A system is required that allows on-line customers to buy and sell stock market shares in a selection of companies. B