SSH command to find large files and directories

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.
du -hs * 2> /dev/null|grep '^[0-9.]\+[MG]'
  • comando, command, ssh, find, encontrar, archivos, files
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

IPv4 vs IPv6 - ¿Cuál es la diferencia?

Información General de Direcciones IP Una dirección IP es como un número telefónico o una...