du -hs * 2> /dev/null|grep '^[0-9.]\+[MG]'
When you're trying to clean up your filesystems and reclaim some space, one of the first things you'll want to do is to confirm the largest directories and individual files you have. This can be easily done using two Unix commands: find command and du command.
- comando, command, ssh, find, encontrar, archivos, files
- 0 Users Found This Useful