Last active
February 19, 2019 11:00
-
-
Save flinox/0cb1d00412c79328bca88201cfd79aa9 to your computer and use it in GitHub Desktop.
Linux: Disk space analysis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mostra espaço utilizado por todas | |
# as partições do Linux o h é de Humano | |
df -kh | |
# T Para mostrar o tipo da partição Ex.: ext4 | |
df -hT | |
# Quanto cada pasta ocupa ( na pasta atual ) | |
du | |
# Analisar uma pasta especifica | |
du /opt/oraclient/ -ach --max-depth=1 | |
# Mostra quanto no total as pastas estao usando | |
# -s Summary | |
du -hs | |
# Não mostra os subdiretorios | |
du -ach --max-depth=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment