One Step Info
One step info where you can get crispy informations in all areas!
Monday, April 2, 2018
Finding files by size in unix
$ find /tmp/ -size +500M
The above command finds files larger than 500MB sizes
$ find /tmp/ -size +500M -size -2GB -exec du -sh {} \;
It finds files that are between 500MB and 2GB sizes and run du -sh command on each file to see the sizes
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)