2016. március 19., szombat
Free Ubuntu disk space - What’s eating my disk space?
sudo apt-get clean
sudo apt-get autoremove
sudo apt-get install deborphan
sudo deborphan | xargs sudo apt-get -y remove --purge (2 line)
sudo reboot (or from VNC console)
http://www.ubuntugeek.com/cleaning-up-a-ubuntu-gnulinux-system-updated-with-ubuntu-14-10-and-more-tools-added.html
*****************************
The command du "summarizes disk usage of each FILE, recursively for directories:
du -hs /path/to/directory
http://askubuntu.com/questions/1224/how-do-i-determine-the-total-size-of-a-directory-folder-from-the-command-line
Find the top 10 largest files and directories on Ubuntu:
sudo du -a / | sort -n -r | head -n 10
http://wiki.ddenis.com/index.php?title=Find_the_top_10_largest_files_and_directories_on_Ubuntu
What's eating my disk space?
should tell you where the space is consumed: sudo du -x -d1 -h /
http://unix.stackexchange.com/questions/113840/whats-eating-my-disk-space
Cleaning up Ubuntu 14.10,14.04,13.10 system : http://www.ubuntugeek.com/cleaning-up-a-ubuntu-gnulinux-system-updated-with-ubuntu-14-10-and-more-tools-added.html
******************************
Remove "orphaned" packages
If you want to remove orphaned packages you need to install deborphan package.
Install deborphan in Ubuntu
sudo apt-get install deborphan
Using deborphan
Open Your terminal and enter the following command
sudo deborphan | xargs sudo apt-get -y remove --purge
*****************************
sudo apt-get autoremove