How to Clear Bash History on Linux
How to Flush DNS Cache on Ubuntu 18.04 LTS If you are not using Ubuntu and using some other Linux, then you can also use nscd. The arch Linux mostly uses nscd. If that is the case, then you just have to enter the following command to flush your DNS cache in that Linux. sudo systemctl restart nscd. You can use the above-mentioned method to clear the DNS Cache in Ubuntu. DistroWatch.com: Clear Linux Clear Linux is a minimal distribution primarily designed with performance and cloud use-cases in mind. The operating system upgrades as a whole rather than using individual packages. Extra software can be added to the system (along with associated dependencies) using pre-compiled bundles which can be accessed through the distribution's swupd
I also want to note that on newer systemd versions (240 and newer, used for example in Ubuntu 19.04 and newer), you may combine the --vacuum*= and --rotate commands. For example to rotate journal files and remove archived journal files until the disk space they use is under 500M, you could use:
How to Clear Memory Cache, Buffer Cache on Linux - TecAdmin
How to Reset Ubuntu to Default Settings - OMG! Ubuntu!
How to kill a process on a port on ubuntu - Stack Overflow FOR UBUNTU 1- Find what application/process is using the pro, type: sudo netstat -lpn |grep :8080 and press Enter. You will get an output similar to this one. tcp6 0 0 :::8080 :::* LISTEN 6782/java 2- I have got the process Id, which is 6782, now this is the process that is using port 8080.