Skip to main content

Commands

Manpages are great but these practical examples will help you understand the Linux commands even better.

A collection of 125 posts

whereis command
Commands

Whereis Command Examples

· Abhishek Prakash

pwd command
Commands

pwd command in Linux

Start your Linux command journey with the simplest of them all; pwd.

· Satoshi Nakamoto

sar command usage in Linux
Tools

Using sar Command to Get System Resource Stats

Sar is CLI utility that tracks and records system resource utilization. Extremely helpful if you want to have a historical view of the resource usage.

· Helder

killall co
Process Commands

killall Command Examples

The killall command helps you kill all the running instances of a process.

· Satoshi Nakamoto

umount command in Linux
Disk Management

umount Command in Linux

Learn some practical examples of using umount command to unmount the mounted disk partitions in Linux command line.

· Satoshi Nakamoto

pkill command
Process Commands

pkill command in Linux

Learn various ways of using the pkill command to terminate a process by its name.

· Satoshi Nakamoto

ip Command Examples
Host Information Commands

ip Command Examples

One of the most used networking commands that you must know.

· Sagar Sharma

Install command in Linux
Commands

Using Install Command in Linux

The install command lets you copy file with advanced parameters. See some examples in this article.

· Sagar Sharma

Help Command in Linux
Commands

Using the Help Command in Linux

This article will 'help' you use the help command more effectively so that you can easily see what options a command has and how it works.

· Sagar Sharma

flock command
Process Commands

flock Command Examples

A less common but helpful in certain scenarios, flock command is used for locking certain files in Linux.

· Sagar Sharma

Use eval Command in Linux
Commands

Use eval Command in Linux

The eval command let's you execute arguments as a shell command. You can combine arguments into a single string, use the result as input to the shell and execute the resulting commands.

· Sagar Sharma

Use hash Command in Linux
Commands

Use hash Command in Linux

The hash command in Linux allows you to quickly get the list of commands you executed in the current session.

· Sagar Sharma

logname command in Linux
Commands

Use logname Command in Linux

One of the simplest commands, logname gives you the name of the currently logged in user in Linux.

· Sagar Sharma

systemctl command examples
Commands

Using systemctl Command

The systemctl command is a must know for Linux systems with systemd init system. Here are some practical examples.

· Sagar Sharma

Finger command in Linux
User Identification

finger Command in Linux

Get logged in user information with the classic finger command in Linux.

· Sagar Sharma

bc command
Commands

bc Command in Linux

The bc command is used for precision calculation. You are more likely to use it for floating point operations in bash scripts.

· Sagar Sharma

lshw Linux command gives you hardware details of your system
Commands

lshw Command in Linux: Get Hardware Details

The lshw command lists the hardware details of your Linux system. You can categorize it to get details on different kinds of hardware.

· Sagar Sharma

Shell built-in commands list
Commands

Shell Built-in Commands

In Linux, there are shell built-in commands which you are already using but never paid attention to. Learn more about them in this tutorial.

· Sagar Sharma

Bash Trap Command
Commands

Trap: A Shell built-in Command

Trap is a shell built-in command that is used to catch any supported signal and react upon it.

· Pratham Patel

chattr command in Linux
File Properties Commands

chattr Command Examples

With chattr command, you can make a file 'undeletable' even by root. Here are some common usage of the chattr command in Linux.

· Sagar Sharma

envsubst Command
Commands

How to Replace Environment Variables Using the envsubst Command

Learn how to replace environment variables using the envsubst command. This guide will show you how with examples and tips.

· Sagar Sharma

XXD command in Linux
Commands

Using XXD Command in Linux

Discover how to use the XXD command in Linux with practical examples. This comprehensive guide will help you understand the features and functionality of XXD.

· Sagar Sharma

gzip command in Linux
Commands

How to Use the gzip Command in Linux

gzip is one of the most useful but often overlooked utilities. Learn to use this handy tool.

· Sagar Sharma

Pigz command for file compression
Commands

Compress Files Faster Using Pigz on Linux

Pigz is a faster compression tool. Learn how to use it for generating .gz compressed file faster in Linux.

· Sagar Sharma

chage command in Linux
Commands

Use the Chage Command in Linux

Learn to use the chage command and manage user account passwords in a more controlled manner.

· Sagar Sharma

nmap command in Linux
Commands

nmap Command Examples in Linux

The nmap command can be used for finding devices on your network, open ports and more. Here are some common uses of nmap.

· Sagar Sharma

pgrep command
Process Commands

pgrep Command Examples

Want to look for a process and its details? The pgrep command helps you with that. Here's how to use it.

· Sagar Sharma

netstat command in Linux
Network Monitoring Commands

netstat Command Examples

Netstat is one of the most common networking commands in Linux. Learn some useful examples of netstat in this tutorial.

· Sagar Sharma

Gunzip command in Linux
Commands

Using gunzip Command in Linux

Learn to use the gunzip command in Linux with these practical examples.

· Sagar Sharma

tree command in Linux
Commands

tree Command Examples in Linux

The tree command is excellent for viewing the structure of a directory and its subdirectories in Linux. Learn how to use it with practical examples.

· Sagar Sharma