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 …

Pstree Command in Linux

When working on a Linux machine, sometimes you might need to find out what processes are currently running. There are number of commands that you can use to find information about the running processes, with ps and top being the Read More …

Less Command in Linux

Less is a command line utility that displays the contents of a file or a command output, one page at a time. It is similar to more, but has more advanced features and allows you to navigate both forward and Read More …

How to Kill a Process in Linux

Have you ever faced the situation where you launched an application, and suddenly while you are using the app, it becomes unresponsive and unexpectedly crashes? You try to start the application again, but nothing happens because the original application process Read More …

ls Command in Linux (List Files and Directories)

The ls command is one of the basic commands that any Linux user should know. It is used to list information about files and directories within the file system. The ls utility is a part of the GNU core utilities Read More …