silikonvid.blogg.se

Ubuntu clean disk space
Ubuntu clean disk space












ubuntu clean disk space
  1. #Ubuntu clean disk space how to#
  2. #Ubuntu clean disk space install#

Period of time, using journalctl to query the systemd journal, for example, 3 days: sudo journalctl To clean systemd journal logs you can choose to remove a certain $ journalctlĪrchived and active journals take up 800.3M in the file system. –disk-usage, that will show the size typically of the folder du -hs /var/log/journal/. To check the space used by the Linux Journal: journalctl Some distros use excessive space for logs, you can adjust how long to

#Ubuntu clean disk space how to#

  • Script source: How to remove old version of installed.
  • While read snapname revision do snap remove "$snapname " -revision = "$revision " done LANG =C snap list -all | awk '/disabled/' | # Removes old revisions of snaps # CLOSE ALL SNAPS BEFORE RUNNING THIS set -eu

    #Ubuntu clean disk space install#

    If you don’t have it, just run: sudo apt-get install synaptic Ruby Gems It provides the same features as the apt-get command line utility with a GUI front-end based on Gtk+. Synaptic is a graphical package management program for apt. To explore installed packages and their sizes, the best app is $ sudo apt-get clean $ sudo du -hs /var/cache/apt Packages and are now no longer needed as dependenciesĬhanged or the package(s) needing them were removed in the

    ubuntu clean disk space

  • “autoremove is used to remove packages that wereĪutomatically installed to satisfy dependencies for other.
  • ubuntu clean disk space

  • apt autoremove Remove automatically all unused packages.
  • dev/mmcblk0p1 37M 7,2M 30M 20% /boot/efiĪ graphical disk usage analyzer helps us to have a representation ofĭrive, my favorite is xdiskusage which have a simple interface and count inįilesystem Size Used Avail Use% Mounted on The -h parameter stands for human readable sizes, i.e. Checkįirst of all, let’s check the free space of each drive with df -h, Use when need to free up space in hard drives. This is a guide to suggest commands and strategies I common After using Linux for a while (i.e.: years) we need to clean up














    Ubuntu clean disk space