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

nslookup command
Host Information Commands

nslookup Command Examples

nslookup is one of the popular networking commands in Linux used for querying the Domain Name System (DNS) records. Learn how to use nslookup command.

· Abhishek Prakash

tr command in Linux
File Manipulation Commands

tr Command Examples

The tr command in Linux is used to perform simple but useful translations of one set of characters into another. Learn some practical examples of the tr command.

· Abhishek Prakash

echo command in Linux
Commands

echo Command in Linux: 7 Practical Examples

Learn to use the echo command in Linux with these simple but useful examples. The echo command is useful for displaying information in bash shell scripts.

· Abhishek Prakash

file command in Linux
File Properties Commands

file Command Examples

Here are various examples of the file command in Linux to determine the actual type of file and gather related information.

· Abhishek Prakash

which Command Examples
File Searching Commands

which Command Examples

Linux which command is an extremely useful command for locating executable files located anywhere in the Linux system. Learn how to use it.

· Abhishek Prakash

du command in Linux
File Properties Commands

du Command Examples

The du command in Linux is used for checking the size of directory. Here are various ways you can find the size of directory in Linux with the du command.

· Abhishek Prakash

Alias command in Linux
Tips

Using alias Command in Linux to Improve Your Efficiency

Alias command in Linux saves a lot of your time and improves your efficiency. Learn how to use this command properly and see some of the common aliases I use.

· Helder

5 Examples of Cal Command in Linux
Commands

5 Examples of Cal Command in Linux

This quick tutorial shows you how to display calendar in Linux with cal command and some common examples of this command.

· Abhishek Prakash

Convert tabs into spaces
File Manipulation Commands

expand Command Examples

This tutorial teaches you to convert the tabs into spaces in Linux command line from the programming perspective.

· Abhishek Prakash

chmod Command Examples
File Properties Commands

chmod Command Examples

This article will teach you how to change permissions in Linux with practical examples of chmod command.

· Eric Simard

lsof command in Linux
Commands

7 Examples of lsof command in Linux

This article teaches you how to list opened files by a user or a process by using the lsof command in Linux. 

· Abhishek Prakash

Ping command in Linux
Host Information Commands

ping Command Examples

Here are some of the most common usages of ping command in Linux along with their explanation.

· Abhishek Prakash

Using Linux Sleep Command in Bash Scripts
Commands

Using Linux Sleep Command in Bash Scripts

This tutorial shows you how to use sleep commands and its various options in bash scripts.

· Abhishek Prakash

tee Command Examples
File Manipulation Commands

tee Command Examples

If you want to display the output of a command and save it to a file simultaneously, tee command is what you need. Learn various ways of using tee command in Linux.

· Abhishek Prakash

curl Command Examples
Network Connection Commands

curl Command Examples

Learn some essential and some pro tips and tricks about using the Curl command in Linux.

· seeni

Linux command line
Basic File Commands

mv Command Examples

mv command in Linux is used for moving and renaming files and directories. In this tutorial, you’ll learn some of the essential usages of the mv command.

· Abhishek Prakash

scp command
Network Connection Commands

scp Command Examples

Here are some practical and essential scp command example to show how to securely copy files between remote Linux systems.

· Abhishek Prakash

cp Command Examples
Basic File Commands

cp Command Examples

cp command in Linux is used for copying files and directories. In this tutorial, you'll learn some of the essential usages of the cp command.

· Abhishek Prakash

Shutdown Linux
Commands

Linux Shutdown Command: 5 Practical Examples

The shutdown command in Linux allows you to shut down, reboot or schedule a shutdown of your system. This article explains the most common and useful examples of the Linux shutdown command.

· Abhishek Prakash

cd command
Directory Operation Commands

cd Command Examples

Learn to use cd command to its full potential in Linux with these practical examples.

· Abhishek Prakash

ls command in Linux
File Commands

ls Command Examples

The ls command in Linux is one of the most used commands. But most people don't utilize its full potential. Check out the basics as well as advanced ls command examples in Linux.

· Sylvain Leroux

touch command in Linux
File Properties Commands

touch Command Examples

Learn to use touch command in Linux with these useful and practical examples.

· Abhishek Prakash

use fold and fmt in Linux
Commands

Handle Line Breaking With Fold and FMT Commands in Linux Terminal

Formatting text so the lines will fit in the available space on the target device are not that easy when it comes to the terminal. Instead of breaking lines by hand you can use the POSIX fold utility and the GNU/BSD fmt command to reflow a text so lines will not exceed a given length.

· Sylvain Leroux

chgrp command in Linux
File Properties Commands

chgrp Command Examples

chgrp command is used for changing the group of a file or directory in Linux. This guide shows you how to use chgrp command in Linux with practical examples.

· Abhishek Prakash

wc Command Examples
File Properties Commands

wc Command Examples

Some practical examples of wc command in Linux to count the number of lines, words and characters of a text file.

· Abhishek Prakash

less command in Linux
File Viewing Commands

less Command Examples

Less is an awesome Linux command utility for viewing text files. Here are some essential less command examples to use it effectively.

· Abhishek Prakash

Tail command in Linux
File Viewing Commands

tail Command Examples

Learn the tail command syntax along with some practical examples of the tail command in Linux. This will also help you in monitoring the log files.

· Abhishek Prakash

paste command in Linux
File Manipulation Commands

paste Command Examples

Learn how to use the paste utility on practical examples to merge text files, and discover a couple of tricks and pitfalls of that command at the same time.

· Sylvain Leroux

csplit
Commands

csplit: A Better Way to Split File in Linux Based on its Content

How to split a file in Linux based on its content? Learn some practical examples of the GNU coreutils csplit command. It's more useful than the popular split command.

· Sylvain Leroux

cut command
File Manipulation Commands

cut Command Examples

The cut command in Linux allows removing data on each line of a file. Read this tutorial to know how to use it effectively to process text or CSV data file.

· Sylvain Leroux