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 grep short for?
Explain the steps that a shell follows while processing a command.
What are grep patterns?
What command will change your prompt to myprompt?
What is the functionality of a top command?
Explain ‘system calls’ with respect to unix commands?
What are the commands in UNIX to list the files in a Directory?
What does sed command do in unix?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
Are you in or at the office?
How do I search for a file in unix command?
What is command substitution?
What is the difference between grep and grep?
What are the unix commands?
What is grep in bash?