Vim Tutorial

VIM tutorial for beginners

The Vim editor (and its predecessor, vi) is a command line editor for Linux systems. It has a long standing reputation as being the most powerful text editor on Linux. After mastering it, many users will even claim that it is far speedier and more convenient to use than a typical GUI editor packed with lots of features in its menus.

Read more

Introduction to Column

How to format data with Column in Linux

Column is a free and open source utility usually installed as part of the util-linux package in all the most common Linux distribution, and therefore included in even the most minimal installations. With this utility we can organize the content of files or the output of other commands in columns, creating pretty tables or even producing JSON formatted documents. 

Read more

How to integrate dialog boxes in shell scripts with Whiptail

How to integrate dialog boxes in shell scripts with Whiptail

The ability to create secure shell scripts is essential not only for system administrators, but also for users who wants to automate repetitive tasks. Sometimes, from our shell scripts, we need to provide the user with some kind of information, ask him/her to provide some input, choose from a set of alternatives, or just ask for his/her confirmation before performing a potentially dangerous operation. All those actions, can be performed from the command line, of course, but to make our scripts more user-friendly, we can use of Whiptail to customize and display textual widgets.

Read more

Regex match filename

Regex match filename

The Linux command line comes with many options that we can use in order to search for files. One of the most powerful features is regex (regular expression) pattern matching. This convention allows us to search our file system based on very granular name patterns found inside the file names – for example, the ability to search for all files that start with an A and end with a K. In regex, this would be written ^A.*K$.

Read more

Installing and using the ifconfig command on Debian

How to install missing ifconfig command on Linux

Most of us longtime Linux users have the ifconfig command seared into our brain, after years of repetitive use. It comes as a shock to some when they type the command and are met with an error message (ifconfig command not found). Indeed, the command has become deprecated, but it’s still possible to install ifconfig command.

Read more

journalctl command usage and examples on Linux

journalctl command usage and examples on Linux

The journalctl command can be used to view all of the logs collected by systemd on a Linux system. This includes logs related to the system’s kernel, initrd, various services and applications, as well as systemd itself. The journalctl command makes querying all of these logs pretty painless, since systemd gathers and stores all these various logs in a central location for administrators to view.

Read more

Using Linux without GUI

Using Linux without GUI

A GUI is only a supplemental component of a Linux system, and is not essential. Many System Administrators will elect to keep their servers as command line only, as a GUI is completely unnecessary for running a plethora of different services. Everyday users, however, will usually want a GUI to perform basic functions like web browsing, watching videos, etc.

Read more

sudo command not found - Solution

sudo command not found – Solution

If you have tried to run the sudo command on your Linux system and are greeted with a sudo command not found error, we have the solution for you. This error most commonly occurs on minimal installs, such as in Docker or on a VPS (virtual private server), and can happen on any Linux distro, like Ubuntu Linux and Debian . In this tutorial, we will show you how to resolve the error and give you the ability to run sudo commands without error.

Read more