Each Linux system user should know how tofind and delete log files in Linux, whether to save room on the hard drive or for another purpose. File deletion in Linux may be accomplished in many ways. Large log files are a potential problem for Linux applications. The producers expect their pr...
Linux Filesystemsare responsible for organizing how data is stored and recovered. One way or another, with time, the filesystem may become corrupted and certain parts of it may not be accessible. If your filesystem develops such inconsistency it is recommended to verify its integrity. This can...
There are several methods to clear the screen in Linux. The following text elaborates on them. Method 1: Clear the Screen in Linux via clear Command The fastest way to clear the terminal screen in Linux is with theclearcommand. In most terminal emulators, likeGNU, runningclearwithout any ar...
To be clear — do not use secure deletion tools on solid state drives (SSDs). You can only write files to an SSD a finite number of times. By using secure deletion tools, you’re adding to the amount of data being written to it, which can cause an SSD to fail much sooner. If y...
Even a beginner in Linux must know how to clear a terminal screen to navigate efficiently in the CLI environment. This short tutorial contains three methods to do so: the clear command, the CTRL+L keyboard shortcut, and an ANSI escape sequence. The clear command and the keyboard shortcut ...
rm -rf / Command in Linux You should always keep in mind that“rm -rf”is one of themost dangerous commands, that you can never run on a Linux system, especially as root. The following command will clear everything on yourroot(/)partition. ...
This quick tutorial shows you two ways to clear systemd journal logs from your Linux system. Thesystemd journalis systemd’s own logging system. It is equivalent to thesyslog in the init system. It collects and stored kernel logging data, system log messages, standard output, and errors for ...
To analyze the amount of system memory and the memory allocated to buffer and cache of the said system, use the free command: free -m Clear Memory In Linux To clear pagecache only: sync; echo 1 > /proc/sys/vm/drop_caches To clear dentries and inodes: ...
Clearing a Terminal Screen in Linux The fastest way to clean up the terminal screen once we feel it is overpopulated is via the Linuxclearcommand. This command does not require any arguments and can be plainly used. $ clear Before:
Clear swap in Linux But first, why would you want to clear swap at all? There could be various reasons. Some time your system will use a lot of swap even when plenty of RAM is available. This may or may not be associated with swappiness of your system. Sometimes it happens that the...