how to find largest file?
Answer Posted / madhusudan choudhary
We can do this by
ls -lrt | sort +4nr -5 | head -1
or
du -s . | sort -nr | head -1
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the use of find command in unix?
What is the first character of the output in ls l command?
Is it inbetween or in between?
What is {} in find command?
What are awk commands?
What is command statement?
What is the command to compare two files in unix?
What is the use of sed command in unix?
What is .sh file?
Which command is used to delete all files in the current directory and all its sub-directories?
What does grep v grep do?
What is awk command used for?
What command will change your prompt to myprompt?
How do I open a port?
What are the dos commands?