10 Useful tar Commands in Linux With Examples

useful tar commands in linux

This blog post will show you the ten most used tar commands in Linux with examples.

The tar command in Linux provides archiving functionality for compressing or decompressing archive files and modifying and maintaining them. With the tar command, we can create tar, gz, bz2 and gzip archives. Administrators use these commands when they want to save some disk space on the servers or when they are migrating files over two host machines.

In this tutorial, we are going to execute the tar commands on Ubuntu 22.04 OS, but you can choose any Linux distro. Let’s get started!

Read more

5 Most Used alias Commands in Linux With Examples

most used alias commands in linux

This tutorial will show you the five most used alias commands in Linux with examples.

Sometimes we need to reference some command using it with a shortcut. These commands with shortcuts defined in Linux are called <b<aliases. Aliases are used to replace long commands in order for the user to avoid spelling errors. Some administrators or regular users are using aliases because they are used to executing some commands with their own Linux language words that have been used over the years.

In this tutorial, we are going to use the latest Ubuntu 22.04 distribution. You can choose any Linux distro you want. Let’s get started!

Read more

Difference Between Curl and wget Commands

difference between curl and wget commands

In this tutorial, we are going to explain the main difference between the curl and wget commands in Linux with examples.

These two commands are very often used by system administrators and other Linux users on daily basis. Curl is a free and open-source utility that offers to transfer data between remote machines. Wget is also a free command line utility that offers transferring files using HTTP, HTTPS, FTP, and FTPS. Wget is a simple transfer utility, while curl offers so much more.

In this tutorial we are going to execute the commands on Ubuntu 22.04 but you can choose any Linux distro. Let’s get started!

Read more

10 Useful SSH Commands in Linux

10 useful ssh commands in linux

In this blog post, we will show you the ten most used SSH commands in any Linux distribution.

SSH stands for Secure Socket Shell and is one of the main key services in Linux. The default port that SSH is running on is the TCP/IP port 22, but it can be easily changed due to security reasons. System Administrators are using this system to log in to the server and execute commands via the command line. The SSH as the secure shell is a replacement for insecure login programs such as Telnet, rlogin, rsh and etc.

In this blog post, we will use the Ubuntu 22.04 OS. You can use any Linux distribution. Let’s get started!

Read more

10 Useful firewall-cmd Commands in Linux

10 useful firewall cmd commands in linux

In this blog post, we are going to explain 10 useful firewall-cmd commands in Linux with real examples.

The firewall-cmd is the command-line client used to manage the runtime configurations. It is a firewall solution as an alternative to the iptables service. We know that a properly configured firewall is the only weapon that can defend the server from attacks caused by internal influences. The firewall-cmd is part of the firewalld application that can be used for managing the firewall.

In this blog post, we are going to use Ubuntu 22.04 as Linux OS. You can use any Linux distribution. Let’s get started!

Read more