Linux zgrep Command Tutorial

Linux zgrep Command Tutorial

The grep is a popular command used to search and match specified string in the given content or files. The zgrep is very similar to the grep where the compressed files can be easily grepped without any extra command to uncompress them. In this tutorial, we examine how to use zgrep to search in compressed … Read more

How To List and Attach Tmux Sessions?

How To List and Attach Tmux Sessions?

Tmux is a popular Linux terminal that provides very useful features. Tmux provides the ability to make terminal sessions permanent even the SSH connection or current terminal is closed. tmux sessions can continue in the background and later these sessions can be easily listed and used again. In this tutorial, we learn how to list … Read more

Linux free Command Tutorial with Examples

Linux free Command Tutorial with Examples

The Linux free command is used to display current memory usage. The free command can be used to show how much RAM memory is available. Is there enough memory to run a new application? etc. The free command is a very simple command which simply shows few lines about the memory. The free command can … Read more

How To Make Bash Script Executable with chmod?

How To Make Bash Script Executable with chmod?

Linux script files are very useful to execute multiple commands again and again. They are a very practical way to executed multiple commands. But in order to run a script file, it should be executable. By default when a script file is created it is not executable. In order to make it executable, the chmod … Read more

List Installed Repositories with “yum repolist” In CentOS, RHEL, Fedora

List Installed Repositories with "yum repolist" In CentOS, RHEL, Fedora

Fedora, CentOS, RHEL, and rpm-based Linux distributions use the yum command in order to manage packages. Even the dnf command is provided as the next version of the yum command the yum command is popularly used too. As a package manager packages are stored in repositories to download, install and update. The yum command provides … Read more

How To Find Linux OS Distribution and Version?

How To Find Linux OS Distribution and Version?

Linux is a free and open-source operating system. A lot of distributions and versions are created on the Linux kernel. Even all of them are called Linux they have specific names and versions like Ubuntu 20.04, Debian 11, RHEL 8, etc. While working with Linux knowing the distributions and version is very important. Especially while … Read more

Linux ntpdate Command Tutorial

Linux ntpdate Command Tutorial

The ntp protocol is used to configure and update date and time information for IT systems. The ntpdate command is a tool used to configure and update the date and time information with the ntp protocol. The ntpdate simply queries the date and time information and sets the current system date and time according to … Read more

How To Clean Yum Cache In CentOS/RHEL?

How To Clean Yum Cache In CentOS/RHEL?

Yum is a tool used to manage packages in CentOS, RHEL, Fedora, etc. Yum simply downloads and installs packages or removes them. The downloaded packages are cached in the local system for future use. But this requires some disk space. The yum cache can be cleaned in different ways which are related to the cached … Read more

Set Date, Time, and Timezone In Linux

Set Date, Time, and Timezone In Linux

Date, time, and timezone are very important for IT systems. This information is used to provide information about log time, operation time, etc. The date is related to the day, weekday, month, yea, etc. Time is related to the hour, minute, second, etc. Timezone is the difference between current location time from the GMT. Print … Read more