

A common practice when looking for a new plugin or theme is that people often install several different ones to try out which is the best. If your site is built with WordPress, for example, it already comes with a default theme and plugin that you have probably never used or got around to deleting.
Clean disk space linux software#
Most websites will have several pieces of unnecessary software stored in their disk space. Here, are eight tips to help you clean up your website disk space.
Clean disk space linux upgrade#
While you can upgrade to a bigger hosting plan, often you can reclaim adequate space just by cleaning up what’s already there. When that happens, the performance of your website can slow and you’ll be unable to store additional data to grow your business. all take up more and more space until, eventually, the storage capacity of your hosting plan gets near its limit.

Website content, newer software versions, plugins, user data, emails, etc. The above list is not exhaustive but it will help you free up substantial amount of disk space quickly.One certainty about running a website is that over time you will use more storage. There is not single command or tool that automatically identifies all unused programs, files and applications and deletes them. As mentioned earlier, you will need to free up space, part by part, using a set of commands. In this article, we have looked at different ways to clean up disk space in Linux. You may change the timeframe as your requirement by modifying ‘3d’ in the following command. Here is the command to restrict your system to log only information for up to past 3 days. Here is the command to view the size of your system log. Over time, these logs grow as your system activity increase and take up a lot of space if left unchecked. $ sudo apt-get autocleanĮvery Linux system logs different kinds of information such as system messages, standard output and errors of various services in Ubuntu. You may also use any of the following commands to accomplish the same. It is located at /var/apt/cache and grows over time as you install/update more and more packages on your system. If you are using Ubuntu/Debian system, then you should note that apt-get command uses a cache of previously downloaded & installed packages on your system. Replace with name of package you want to delete. You may also manually remove unnecessary packages & applications using the following command. It will automatically remove unused packages from your system. You can remove unnecessary packages from your system with the following command.

Repeat these steps for other folders listed in the output of du command above. Run ls -l command to list all its files and folders. The most basic strategy is to identify and delete any unnecessary files that consume lot of space. You can use these steps on almost all distributions. Here are the steps to clean up disk space in Linux. It is a combination of commands that will help you identify and clean up your disk. There is no single command or readymade tool to help you free up disk space. In this article, we will look at several useful ways to clean up disk space in Linux. Often you may need to free up disk space on your Linux system to make your programs and processes run faster, and avoid problems of running out of disk space.
