- List the files in current directory sorted by size ?
ls -l | grep ^- | sort -nr
- List the hidden files in current directory ?
ls -a1 | grep "^\."
- Display the Disk Usage of file sizes under each directory in currentDirectory ?
du -k * | sort nr
or
du -k * |du k . | sort -nr
- Display the all files recursively with path under current directory ?
find . -depth -print
- How do you find out drive statistics ?
iostat -E
- Display disk usage in Kilobytes ?
du -k
- Display top ten largest files/directories ?
du -sk * | sort -nr | head