

#Linux clean disk install
And just like scrub, to use wipe in most Linux distributions, you first need to install it. 13 root root 4096 Mar 28 17:53 usrĭaisy's answer to use a graphical tool to visually find large files and directories is probably the best method. The df utility displays the disk space usage on all mounted filesystems. Similar to scrub, wipe can erase the contents of a storage device disturbingly easily double-check before you set it loose on your precious data. 13 root root 0 Aug 7 08:42 sysĭrwxrwxrwt. 7 root root 0 Aug 7 08:42 selinuxĭrwxr-xr-x. I think of it as CCleaner from windows only for linux. There is also the ability to use it to 'wipe' the free disk space.
#Linux clean disk update
Update grub and make sure everything is correct: update-grub. Remove (or comment) the /boot entry in /etc/fstab: vim /etc/fstab.

First move your data from the boot partition to root (run as sudo -s ): cp -a /boot /boot2 umount /boot rmdir /boot mv /boot2 /boot. There are about 70 applications that it can recognize and wipe clean. This also prevents any out of space issues in the future. 69 root root 4096 Aug 23 09:19 etcĭrwxr-xr-x. the basic idea is that it quickly frees up disk space and removes a lot of the junk that is hidden in the system. 16 root root 3580 Sep 9 03:13 devĭrwxr-xr-x. These are some ways to help you find out some hidden disk spaces that you can free up. df -hįilesystem Size Used Avail Use% Mounted onĭu: cannot access `proc/18605/task/18605/fd/4': No such file or directoryĭu: cannot access `proc/18605/task/18605/fdinfo/4': No such file or directoryĭu: cannot access `proc/18605/fd/4': No such file or directoryĭu: cannot access `proc/18605/fdinfo/4': No such file or directory On the /boot partition, check the available space by running the following command: df -h.

This command should hopefully recover a good amount of disk space, as shown in the following screenshot. Procedure Log in to the VM as root user or a user with sudo access. Other than that what I can clean up to make space. Heres a useful command that can be used to only keep the 2 latest kernels installed, thus removing the previous ones: Shell. My var/log has only 40MB and Home directory has 3GB of space(so I believe that's not a problem). Please suggest me any particular unnecessary file that I can clean to back everything to normal condition(temporarily).
