Exact Match with Grep Command

Exact Match with Grep Command

The grep command is the very popular command-line tool to match or grep given pattern in the specified text or content. One of the most popular cases for the grep command is the exact match. This can be also called an exact string match with the grep command. Exact Match with -w Option The -w … 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

How To Set Timeout For Curl Command?

How To Set Timeout For Curl Command?

The curl command is used to download files and web pages by using different protocols like HTTP, HTTPS, FTP, etc. As the curl command work over a network connection first phase of the download is connecting to the remote server. The remote server connection can take some time according to the network speed, latency, remote … 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