Knowledge Base

How to use Gzip Command.

In this tutorial, we will show you how to use the gzip command.Gzip is one of the most popular compression algorithms that allow you to reduce the size of a file and keep the original file mode, ownership, and timestamp.Gzip

Read More »

How to use Unlink Command.

In this article, we will show you how to remove a file in GNU/Linux systems using the unlink command. Removing File with unlink unlink is a command-line utility for removing a single file. The syntax of the unlink command is

Read More »

How to Show Line Numbers in Vim / Vi.

This article will show you how to display or hide line numbers in Vim / Vi text editor. Vim/Vi is the text editor of choice for many software developers and Linux system administrators. By default, Vim doesn’t show line numbers,

Read More »

How to Add User to Sudoers in Ubuntu

In this article we’ll show you two ways to grant sudo privileges to a user. The first one is to add the user to the sudoers file . This file contains information that controls which users and groups are granted

Read More »

How to Check Python Version.

This article explains how to check what version of Python is installed on your operating system using the command line. This can be useful when installing applications that require a specific version of Python. Python is one of the most

Read More »

How to use rm command.

In this guide, we will explain how to use the rm command through examples and explanations of the most common rm options. rm is a command-line utility for removing files and directories. It is one of the essential commands that

Read More »

How to Truncate (Empty) Files in Linux

This tutorial explains how to truncate files to zero size in Linux systems using shell redirection and the truncate command. In some situations, you might want to truncate (empty) an existing file to a zero-length. In simple words, truncating a

Read More »

How to use pushd & podp command.

In this tutorial, we will show you how to use the pushd and popd commands to navigate your system’s directory tree. pushd and popd are commands that allow you to work with directory stack and change the current working directory

Read More »

How to use Gunzip Command.

Gunzip is a command-line tool for decompressing Gzip files. Gzip is one of the most popular compression algorithms that reduce the size of a file and keep the original file mode, ownership, and timestamp. By convention, files compressed with Gzip

Read More »

How to use Chmod Command.

This tutorial covers how to use the chmod command to change the access permissions of files and directories. In Linux, access to the files is managed through the file permissions, attributes, and ownership. This ensures that only authorized users and

Read More »

How to use whereis command.

In this article, we will show you how to use the Linux whereis command. whereis is a command-line utility that allows you to find the location of the binary, source, and manual page files for a given command. How to

Read More »

How to write comments in bash scripts.

In this article, we’ll cover the basics of writing comments in Bash. Comments are used to explain the code. For example, if you have a complex regex or parameter substitution inside your Bash script, you should write a comment describing

Read More »

How to use dmesg command

In this tutorial, we’ll cover the basics of the dmesg command. The Linux kernel is the core of the operating system that controls access to the system resources, such as CPU, I/O devices, physical memory, and file systems. The kernel

Read More »

How to use pstree command.

In this article, we will talk about the pstree command. It is similar to ps , but instead of listing the running processes, it shows them in a tree. The tree-like format is a more convenient way to display the

Read More »

How use RPM command.

In this tutorial, we will talk about how to use the rpm command to install, update, remove, verify, query, and otherwise manage RPM packages. The RPM Package Manager (RPM) is a powerful package management system used by Red Hat Linux

Read More »