Check Journalctl Log size and archive/delete old logs.
In this article, we will look how to check the journalctl log size on our system and how to archive/delete old log files. 1. Check current disk space usage by...
Today we will see an interesting issue where the logs are collected in /var/adm/messages as per rsyslog.conf. However the log file size in increasing infinitely and is not rotating. It...
Have you ever worked in latest versions of fedora ? If yes, you might have observed some directories “/run/user/some-number” when doing “df -h”. Lets see the command output. [saket@localhost ~]$...
I. Introduction prelink as its name suggests is a program used to link ELF shared libraries and binaries in order to speed up startup time. Synopsis prelink [OPTION...] [FILES] prelink...
Today we will look at a very basic article to know various ways to create a file in linux. Lets see the various commands below. 1. Touch command [root@ngelinux ]#...
In this post, we will look at an interesting tip to keep two directories in sync with each other. It helps us to take backup of a directory and perform...
In this article, we will look different ways or tricks to count number of files inside a directory in linux. I. Get files inside /tmp Using “wc -l” command on...
Today we will see how to find the files which are modified recently on our linux system. We will see the files modified in last few minutes, hour, and days....