Hi ,
I need to get a list of name and size , of the the top 5 biggest file under the
current directory , in decending order
Thank You
du -ah . | sort -n -r | head -n 5
du -ak . |sort -n|tail -5
Thanks.
du -ah . | sort -n -r | head -n 5
I seems that its does not take into consideration files that exists under subdirectories
gnu_find /path -type f -printf "%s|%p\n"|sort -n|tail -5