Most Commonly Used Linux Commands You Should Know

Most Commonly Used Linux Commands You Should Know

Linux is a very popular Operating System (OS) amongst programmers and regular users. One of the main reasons for its popularity is its exceptional command line support. We can manage the entire Linux operating system via command line interface (CLI)

Linux rmdir Command Examples for Beginners

Linux rmdir Command Examples for Beginners

As Linux users, we interact with the files and directories on a regular basis. One common operation users perform is removing directories from the file system. However, we have to be extra careful while removing the directories. Because carelessly performed

4 Ways to View Disks and Partitions in Linux

4 Ways to View Disks and Partitions in Linux

In this guide, we will show how to list storage disks and partitions in Linux systems. We will cover both command-line tools and GUI utilities. By the end of this guide, you will learn how to view or report information

30 Ways to Validate Configuration Files or Scripts in Linux

30 Ways to Validate Configuration Files or Scripts in Linux

Configuration syntax checking and/or testing is a key step to perform after making changes to an application’s or service’s configuration file or even after running updates. This helps to reduce the chances of the service failing to restart due to

How to Run a Linux Command Without Saving It in History

How to Run a Linux Command Without Saving It in History

By default, every command that you execute on your terminal is stored by the shell (command interpreter) in a certain file called a history file or shell command history. In Bash (the most popular shell on Linux systems), by default,

How to Run a Command Multiple Times in Linux

How to Run a Command Multiple Times in Linux

For one reason or the other, you may wish to run a command repeatedly for several times in Linux. This guide will discuss some of the common and effective ways to achieve just that. Let’s consider the first method. Note

How to Disable ‘su’ Access for Sudo Users

How to Disable ‘su’ Access for Sudo Users

The su command is a special Linux command that allows you to run a command as another user and group. It also allows you to switch to the root account (if run without any arguments) or another specified user account.

How to Convert a /Home Directory to Partition in Linux

How to Convert a /Home Directory to Partition in Linux

This topic might seem a bit peculiar. I mean, why should you convert your home directory into a separate partition? Whenever you are installing Linux, the installer already selects the ‘guided‘ partitioning by default. When you go with this option,

Different Ways to Create and Use Bash Aliases in Linux

Different Ways to Create and Use Bash Aliases in Linux

Alias in bash can be termed simply as a command or a shortcut that will run another command/program. Alias is very helpful when our command is very long and for frequently used commands. Over the course of this article, we

How to Use Heredoc in Shell Scripting

How to Use Heredoc in Shell Scripting

Here document (Heredoc) is an input or file stream literal that is treated as a special block of code. This block of code will be passed to a command for processing. Heredoc originates in UNIX shells and can be found

Different Ways to Use Column Command in Linux

Different Ways to Use Column Command in Linux

Have you ever been in a situation to work with CSV files and produce output in structured tabular format? Recently I was working with data cleansing on a file that is not in a proper structure. It has so many

Gdu – A Pretty Fast Disk Usage Analyzer for Linux

Gdu – A Pretty Fast Disk Usage Analyzer for Linux

In this article, we will take a look at gdu an open-source disk usage analyzer written in go. Gdu is inspired by godu, dua, ncdu, and df. The gdu tool is created for SSD drives where parallel processing can be

LFCA: Learn Basic Network Troubleshooting Tips – Part 12

LFCA: Learn Basic Network Troubleshooting Tips – Part 12

When systems encounter issues, as they sometimes will, you need to know your way around the problem and restore them back to a normal and functioning state. In this section, we focus on fundamental network troubleshooting skills that any Linux