The Difference Between sudo and su Explained


Learn when to use the su command and when to use the sudo command. While su is mostly used for account switching, sudo is utilized for executing commands that require root privileges. Find out more about SU vs. SUDO in this in-depth comparison.

Read More

19 Crucial Linux ls Commands to Know


The ls command (short for “list”) lists information about directories and any type of files in the working directory. Learn how to use ls command in this article.

Read More

Vim Commands Cheat Sheet


Vim is an open-source text editor found in most Linux distributions. This article lists all the commonly used Vim commands and includes a downloadable one-page cheat sheet for future reference.

Read More

How to Use the Linux Cat Command (With Examples)


The cat command, short for concatenate, is used to display the contents of one or more files, without having to open the file for editing. Learn how to use the cat command by following this article.

Read More

How to use Linux Shutdown Command with Examples


The shutdown command is used to shut down the system immediately, schedule a shutdown, inform users of such processes, or even cancel it. LEarning how to use the shutdown command is important for any Linux user.

Read More

How to Exit (Quit) Linux Vim/Vi editor


Vim text editor is one of the most widely used text editor. For that reason, you should learn some of the basic commands used in Vim. This article shows you how to exit a file, using a Vim command or shortcut key.

Read More

How to Get the Size of a Directory in Linux


Use the command line interface to display directory size and for display disk space. This guide will help you find the amount of disk space used by any given directory.

Read More

How to Use fsck Command to Check and Repair Filesystem


If you want to keep your filesystems clean and without errors, you need to scan it on regular basis. In this guide, you can find all fsck commands that will help you maintain your filesystem health.

Read More

How to Undo and Redo Changes in Vim / Vi


Mastering basic Vim commands includes learning how to undo and redo changes in this text editor. Knowing how to undo and redo in Vim will help you speed up and simplify working with content and files.

Read More

How to Delete Line in Vim on Linux


Vim allows you to delete entire lines, words or characters using various Vim commands. Learn the most practical way to remove text by following this practical guide.

Read More