Last active
March 14, 2024 20:50
-
-
Save salvatorecapolupo/63f36ca6bdf968eb618630088183bb91 to your computer and use it in GitHub Desktop.
Comandi utili SSH
This file contains hidden or 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
Trovare file che occupano più spazio via SSH | |
find / -size +250M -ls | |
-- | |
Liberare spazio su disco Linux via SSH | |
cd / | |
sudo du -h --max-depth=1 | |
- Note which directories are using a lot of disk space. | |
- cd into one of the big directories. | |
- Run ls -l to see which files are using a lot of space. | |
- Delete any you don’t need. | |
Repeat! | |
ultimi 10 errori prima di un crash | |
-- | |
tail -n 10 /var/log/apache2/error.log | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment