Linux

pstree Command in Linux: Visualize Running Process Hierarchies

The pstree command in Linux displays running processes in a tree structure rather than a flat list. The parent-child relationships that ps shows as…

2 weeks ago

type Command in Linux: Show How the Shell Resolves a Name

The type command in Linux shows how the current shell would interpret a name typed on the command line. It identifies aliases,…

2 weeks ago

How to Check Memory Usage in Linux: free, top, and /proc/meminfo

When a Linux system is slow or behaving unexpectedly, memory is one of the first things to check. This guide…

2 weeks ago

ip Command in Linux: Configure Interfaces, Routes, and ARP

The ip command is the standard network configuration tool on modern Linux systems. It is part of the iproute2 package, installed by default on…

2 weeks ago

chown Command in Linux: Change File and Directory Ownership

Every file and directory in Linux has an owner (a user) and a group. Together with permission bits, these two…

2 weeks ago

How to Remove Files and Directories in Linux: rm, shred, rmdir

The command line does not have a Trash folder. When you delete a file from the terminal, it is gone…

3 weeks ago

How to Create a systemd Service File in Linux: Step-by-Step Guide

Systemd is the init system on most modern Linux distributions. A service file (also called a unit file) tells systemd…

3 weeks ago

How to Create Users in Linux with useradd: A Complete Guide

Linux is a multi-user system. Each person or service that needs access should have its own dedicated account with separate…

3 weeks ago

watch Command in Linux: Monitor Changing Output in Real Time

The watch command in Linux runs a command at regular intervals and refreshes the terminal with the latest output. It is the…

3 weeks ago

xargs Command in Linux: Build and Execute Commands from Input

The xargs command in Linux reads items from standard input and passes them as arguments to another command. It bridges the gap…

3 weeks ago