sync; echo 1 > /proc/sys/vm/drop_caches To clear dentries and inodes: sync; echo 2 > /proc/sys/vm/drop_caches To clear pagecache, dentries and inodes: sync; echo 3 > /proc/sys/vm/drop_caches You can also use the following chain of commands to empty buffer and cache: free && s...
In this tutorial, I’ll explain what is apt cache, why is it used, why you would want to clean it and what other things you should know about purging apt cache. I am going to use Ubuntu here for reference but since this is about apt, it is applicable toDebianand other Debian and ...
Users can cleanup disk space and free disk space on Ubuntu using BleachBit. Users can cleanup disk space and free disk space on Ubuntu using BleachBit. Here is how to install and use BleachBit. BleachBit When your computer is getting full, BleachBit quickly frees disk space. With BleachBit...
No, it is not. Consider a scenario where you have scheduled a script to clear the RAM cache every day at 2 am. Each day at 2 am, the script is executed, flushing your RAM cache. However, one day, unexpectedly high numbers of users are online on your website, placing a significant ...
This article provides instructions on how to flush your DNS cache on different operating systems and web browsers.
Here’s what the flush DNS command looked like when I tried these steps on a Linux virtual machine running Ubuntu 24.04.1: How to Clear DNS Cache on Chrome Google Chrome is not an operating system, but it does keep a DNS cache of its own. This is separate from your operating system’...
3. Find Details of a Package in Ubuntu Theapt-cache showcommand is used to display detailed information about a specific package such as description, version, dependencies, and other details from the system package cache. For example, if you want to get the complete information about the packag...
In case you want to clear the APT cache only, then execute this command: sudoapt-get autoclean You can usesudo apt-get autoremoveto remove and clean all of the old packages. Clean APT Cache APT is the acronym of Advanced Package Tool present in UBUNTU systems which is used to install,...
Method 2: Using dns-clean to flush DNS-Cache Another way to clear the DNS cache is by starting the dns-clean utility. Run the following command in your Terminal to do so: $ sudo /etc/init.d/dns-clean start You have now learned two effective methods to clear your DNS cache. In both...
2. Install BleachBit on an Ubuntu-based distribution For the Ubuntu-based distributions, open a terminal window, change into the Downloads directory (assuming that's where you saved the .deb file), and issue the command below. Also:How to enable folder colors in Ubuntu-based Linux d...