how to find largest file?

Answer Posted / ramesh

$ls -l|tr -s " "|sort -t " " -f +4,-5|tail -1

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ‘ps’ command for?

614


What is used to type command?

539


Is command prompt unix?

578


What does 'mkdir' command do in UNIX?

658


What does the “echo” command do?

624






Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

795


How do I use nslookup?

571


What do know about tee command?

601


What is command statement?

541


What is merge command in unix?

942


Is it inbetween or in between?

578


What is the unix command to confirm a remote host is alive or not?

579


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

619


What does touch command do in unix?

723


Why is it called grep?

557