Skip to content

Instantly share code, notes, and snippets.

@zerebom
Last active April 15, 2020 07:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zerebom/7de9da1268fa10a1ac3850da34828ad3 to your computer and use it in GitHub Desktop.
Save zerebom/7de9da1268fa10a1ac3850da34828ad3 to your computer and use it in GitHub Desktop.
shell script

ゴミ箱を空にする

#ゴミ箱の場所
find ~ -name "Trash"
#ゴミ箱の中身確認
ls -al ~/.local/share/Trash/files
#全部消す
sudo rm -rf ~/.local/share/Trash/files/*
sudo rm -rf ~/.local/share/Trash/info/*

ファイル・ディスクの容量を確認

https://eng-entrance.com/linux-storage

#ディスクの容量をギガ単位で確認
df -B G

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment