top files and dir
Greetings
Can any one please provide me the command to display top 10 files and top 10 directories on a linux system. regards |
Based on what criteria? Size, number of times accessed, last 10 accessed? Sorry, but my Jedi mind-control has failed me.
|
Sorry....Top 10 files and directories in size.
|
I'm not aware of any single command to do that, so if I was doing it I would build a list, sort it in reverse order, and pass it through "head -10" to get the top 10.
Are you after two lists? One for files and one for directories? |
Show us what you've tried so far
|
All times are GMT -5. The time now is 05:14 AM. |