Every Operating System (without no exception for Ubuntu) usually create user activity log that log in at the time, some log that are often found are recent used document, the presence of recently used document log sometimes makes people uncomfortable, they afraid if their friend know what they...
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...
Fig: Ubuntu System Log Viewer Updated Log Files will be shown in bold When you are viewing a file, if there are newer entries available on other log files, they’ll be displayed in bold. In the following example, the current file we are viewing is user.log.0. However, the syslog file...
However, if not managed correctly, log files can quickly accumulate and consume disk space, leading to performance issues and even system crashes. Therefore, it's crucial to understand how to manage log files and ensure they are properly maintained. In this blog, we will discuss the importance ...
Ubuntu Log Files Location: Where Are They Stored? The root directory of the majority of log files is/var/log, while most system logs are generated by thesyslog log daemonto capture activities. The OS will use syslog, whereas the majority of programs will log data to files in the /var/lo...
There are three ways to clear command history in Linux Ubuntu: Clear entire command line history using history command Clear specific command history using history command Clear entire command history automatically at logout Let us learn about each one of these, one by one: ...
To clean Apt archive cache folder on Ubuntu, run: sudo apt-get update sudo apt-get clean sudo apt-get autoclean Let us know more about the commands we have used: clean– clean clears out the local repository of retrieved package files. It removes everything but the lock file from /var...
systemd has its own logging system which provides centralized management for logging kernel and userland processes. This article explains how to clear the systemd journal log files.
Logrotate is a utility/tool that manages activities like automatic rotation, removal and compression of log files in a system. This is an excellent tool to manage your logs conserve precious disk space. By having a simple yet powerful configuration file, different parameters of logrotation can b...
Understanding how to run commands as the root user in the terminal Enable the root login in the GUI Log in as root on Ubuntu through the login screen On many of the most popular Linux distributions, including Ubuntu, it's possible to log into your computer as a "root" user. The ...