Linux Tutorials - Learn Linux Operating System

How to Concatenate Files in Linux with cat command

In Linux cat command used to concatenate one or more files together. By default cat command reads the file and print output to the terminal.

How to Catch Standard Error to a Variable in Bash

To store stderr into a variable we need to use command substitution.

But, by default, command substitution only catches the standard output(stdout). To capture stderr we need to use 2>&1 redirector.

Learn Linux Bash Output Redirection and Command Pipes

In this tutorial we are going to learn How to use Output redirection and Pipes in Linux Bash environment.

In Linux bash there is Two types of Outputs, stdout (Standard Output) and stderr (Standard Error).

How to Show Currently logged in users in Linux

How to check how many users are logged in to the Linux system? There are few commands we can use to show currently logged in users in Linux Operating System.

Learn How to use Curl Command in Linux with Examples

Curl is a powerful utility that can use to both download and upload data to servers. The curl command in Linux Supports many kinds of protocols, including HTTP/HTTPS, FTP, SMTP, SMB and More.

This tutorial Mainly Focuses on HTTP and FTP Protocol. First we will see how to use curl command to retrieve data through the HTTP Protocol, Then we will use curl with FTP protocol to Download and Upload files.

Download WordPress Latest Version with wget command

Download the latest version of the WordPress installation package using the wget command and curl command.

Change Runlevel in Linux with systemctl Command

Most Linux distributions use systemd as their init system. In systemd, we use the systemctl command to change runlevels. Also, you should know that, in systemd we identify runlevels as “targets”. For Example multi-user mode called as

dnf Command – Install and Manage Packages in CentOS / Fedora

In this tutorial we are going to learn how to use dnf command to install and manage packages in RPM-based Linux distributions.

The dnf command is the improved version of the yum package manager which is used in Redhat based Linux distributions. Currently Fedora use dnf command as its package manager and we expect the next major release of Redhat and CentOS will use dnf command as the their software installer.

How to Unzip Zip files in Linux using unzip Command

In this tutorial we are going to learn how to unzip zip files in Linux Operating System. The Zip file compression Format mostly used in Microsoft Window and often you will need to unzip zip files that ported from a windows computer.

To unzip zip file in Linux, we need to install unzip package. After we install unzip command, we can extract zip file from the command line or from the GUI, if you are using Linux Desktop.

How to Update Bash In Linux Operating System

In this Linux tutorial we are going to learn how to update bash in Linux Operating System. We will look how to update bash (GNU Bourne Again shell) in both Redhat Based Linux distributions and Debian Based Linux Distributions.

How to Run Cron Job When System Reboot in Linux

In this tutorial we are going to learn how to schedule cron jobs to run everytime after system reboot in Linux.

The Linux crontab has a time option called @reboot which allows to run a cron job once after reboot every time.

How to Display Calendar in Linux Terminal

In this article I am going to show you how to print calendar in Linux terminal. In the Linux terminal, we can get the calendar using the cal command.

Open the Linux terminal and type cal, and you will get the calendar of the current month.

How to Deny specific user from Running Cron jobs in Linux

In this Linux tutorial we are going to learn how deny specific user from running scheduled task using Linux cron job.

Every Linux user can add their own cron jobs using crontab -e command. But what if we want to disable specific user from running cronjobs ?

How to Get My Public IP Address using Linux curl Command

In this tutorial we are going to learn how find Public IP Address of our computer using Linux curl command.

Normally, if we want to find the public IP Address we use, we go to google and search “what is my ip address”. But if you use Linux, you can get your public IP Address from the command line using curl command.

The curl command with argument will show your public IP Address.

How to Check Bash Version in Linux Operating System

In this Linux tutorial we are going to learn how to how to check bash version in Linux. To get bash version in Linux, we can use either bash command or $BASH_VERSION environment variable.

Easiest way to check bash version is to run bash –version in the command prompt.

How to Create a Directory in Linux Operating System

In This Linux Tutorial we are going to Learn How to make directories using mkdir Linux Command.

In Linux mkdir command use to create directory in Linux. If no path specified new directory will be created inside the current working directory.