This tutorial is going to speak about vim basic use and covers also the editor vi. Vim is a powerful text editor used in CLI (command line interface). Linux uses a lot of configuration files, you’ll often need to edit Read More …
Category: Linux
Echo Command in Linux with Examples
The echo command is one of the most basic and frequently used commands in Linux. The arguments passed to echo are printed to the standard output. echo is commonly used in shell scripts to display a message or output the Read More …
Bash: Append to File
In Bash, there are multiple ways to append text to a file. This article explains some of them. To append text to a file, you need to have write permissions to it. Otherwise, you will receive a permission denied error. Read More …
Cat Command in Linux
The cat command is one of the most widely used commands in Linux. The name of the cat command comes from its functionality to concatenate files. It can read and concatenate files, writing their contents to the standard output. If Read More …
Df Command in Linux (Check Disk Space)
How much space do I have left on my hard drive? Is there enough free disk space to download a large file or install a new application? On Linux and Unix operating systems, you can use the df command to Read More …
Pwd command in Linux (Current working directory)
What is the Current Working Directory The current working directory is the directory in which the user is currently working in. Each time you interact with your command prompt, you are working within a directory. By default, when you log Read More …
Linux File Permissions
In Linux, access to the files is managed through the file permissions, attributes, and ownership. This ensures that only authorized users and processes can access files and directories. This tutorial covers how to use the chmod command to change the Read More …
Umask Command in Linux
On Linux and Unix operating systems, all new files are created with a default set of permissions. The umask utility allows you to view or to set the file mode creation mask, which determines the permissions bits for newly created Read More …
Linux Tee Command with Examples
The tee command reads from the standard input and writes to both standard output and one or more files at the same time. tee is mostly used in combination with other commands through piping. In this tutorial, we’ll cover the Read More …
How to Create Directories in Linux (mkdir Command)
In Linux systems, you can create new directories either from the command line or with the help of your desktop’s file manager. The command that allows you to create directories (also known as folders) is mkdir. This tutorial covers the Read More …