Basic Linux Commands

Basic Linux Commands

Linux beginners may get overwhelmed by the sheer number of commands that are available in the terminal, but most users will find themselves executing the same few commands over and over. If you are looking to get started with the Linux command line, we have listed 20 of the most important and basic commands that you should know. These basic commands are the most essential to learn, and also the ones you will likley find yourself using the most.

Read more

How to create file on Ubuntu Linux

How to create file on Ubuntu Linux

Most users, if not every user, of Ubuntu Linux will need to create a file at some point. You may need to make a grocery list, a configuration file, or just an empty file used for testing purposes. The applications are endless, but inevitably you will need to make some files.

Read more

How to partition a drive on Linux

How to partition a drive on Linux

Every hard disk, in order to be accessible under Linux, must have at least one partition on it. A partition is a way to logically separate different sections of a disk. For example, a 4 TB hard drive could have four different 1 TB partitions, and all would appear as separate storage systems under the operating system. Alternatively, a hard disk could simply contain a single partition that spans the entire volume. The configuration is entirely up to the user.

Read more

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