10 basic cat commands in Linux with examples

10 Basic Cat Commands in Linux With Examples

In this tutorial, we are going to explain some basic cat commands in Linux, that are applicable on various distributions such as Ubuntu, Debian, CentOS, AlmaLinux and etc.

The “cat” command is a shortcut of the word “concatenate” and is a very useful command that is frequently used, by system administrators and DevOps engineers. With this command you can easily view files, create them, filter information from them, display line numbers in files and etc.

In this post, the cat command will be explained with real examples on Ubuntu 20.04. You can use the Linux distribution of your choice. Let’s get started!

Read More

Enable Proxy Settings for Yum Command on CentOS 7

enable proxy settings for yum command on centos 7
enabling proxy settings for yum command on centos

In this article, we will show you how to enable proxy settings for yum command on CentOS 7. Yum is a package management tool that works with RPM packages. It is available on RedHat Enterprise Linux, CentOS, and older versions of Fedora, and it is the most convenient way to handle OS packages and their dependencies on these operating systems.

When a server can only be accessed through proxy servers, you need to configure yum to use a proxy server so you can install a RPM package, or update the currently installed yum packages.
To configure a proxy server so the system user can access and use yum commands is a fairly easy and straight-to-the-point task, and it shouldn’t take more than 5 minutes to configure it. Let’s get started.

Read More

Linux Date Command

How to Use the Date Command in Linux

In this post, we will show you some examples on how to use the date command in Linux. The date command in Linux  can be used to print or set the system date and time. Using the Date Command in Linux its simple, just follow the examples and the syntax below. Let’s get started.

Read More

10 Useful Wget Command Examples In Linux

Wget Command Examples

wget exampleWe’ll show you 10 practical examples of the Wget Command. Wget is a free utility that can be used for retrieving files using HTTP, HTTPS, and FTP which are considered as the most widely-used Internet protocols.

Its name comes from World Wide Web + get. Wget has many features which makes it a very easy task when it comes to retrieving large files, recursive downloads, multiple file downloads, or mirroring entire web or FTP sites.

Wget is non-interactive which gives great flexibility in using it. It can be easily called from scripts, cron jobs, terminals, etc. It can work in the background even if a user is not logged in. This allows you to start a file download and disconnect from the system, letting wget finish the work.

In this article, we will demonstrate the use of wget through some practical examples that you can use to accomplish some of the most common tasks such as downloading files or even mirroring entire websites.

Read More