Skip to main content

Latest Tutorials

Latest
Enable timestamp in history command in Linux
Tips

Enable Timestamp in History Command in Linux

You can easily see which commands you ran in the past. But do you know when did you run it? The history command can tell you that as well.

ยท Sagar Sharma

Black Friday Deals for Linux Users are Now Live!

Black Friday Deals for Linux Users are Now Live!

Check out these awesome, money-saving Black Friday deals for Linux users.

ยท Abhishek Prakash

duf command in Linux
Tools

How to Use the duf Command in Linux

The duf command is a modern utility that combines the features of the du and df commands in a pretty and structured way.

ยท Sagar Sharma

top vs htop
Explain

top vs htop: What's the Difference?

Both top and htop are similar command line tools used for system monitoring in Linux. Here's how they are different from each other.

ยท Sagar Sharma

etc hosts file in Linux
Explain

What is the Purpose of /etc/hosts File in Linux

The /etc/hosts file is an integral part of the Linux system. But what is it used for?

ยท Sagar Sharma

See process tree in Linux
Process Handling

Show Process Tree in Linux

Here are multiple commands that you can use to show the process tree in the Linux command line.

ยท Sagar Sharma

Brace expansion in bash shell
Bash Tips

Using Brace Expansion in Bash Shell

Brace expansion in the bash shell is a lesser known but an awesome feature. Learn about using them like a Pro Linux user with practical examples.

ยท Abhishek Prakash

Scan ports with nmap
Tips

Scanning Ports With nmap

Nmap is an open source utility for network discovery and security auditing. Learn how to scan specific or multiple or all ports with nmap.

ยท Abhishek Prakash

Connect to SSH server on Alternate Port
SSH Basics

Connect to SSH Server on Alternate Port

Here's a beginner's guide for adding an alternate port to SSH server and the steps for connecting to it.

ยท Sagar Sharma

Comments in YAML
Quick Tip

How to Add Comments in YAML

New to YAML? See how to add single-line, inline comments in YAML. Also learn about commenting out multiple lines quickly.

ยท Sagar Sharma

Using if else statements in AWK
AWK Tips

Using if else Statements in Awk

Learn to use conditional statements in AWK. With the use of if else, you can write advanced AWK scripts.

ยท Abhishek Prakash

LOMP stack with Ubuntu
Tutorial

How to Install LOMP Stack on Ubuntu

Learn all about installing the LOMP tech stack on an Ubuntu server in this step-by-step beginner's tutorial.

ยท LHB Community

File locking in Linux
Tutorial

File Locking in Linux

File locking in Linux is the solution by which you can ensure that the file for reading/writing is going to be handled safely.

ยท Sagar Sharma

dir command in Linux
Commands

The Lesser Known Dir Command in Linux

Learn about the dir command, the less known but identical cousin of the popular ls command.

ยท LHB Community

Beginning end of file in Linux
Nano Essentials

Jump to the Beginning and End of File in Nano

Nano is an excellent beginner-friendly text editor for Linux command line. Learn to quickly go to the beginning or end of files in Nano.

ยท Sagar Sharma

Pretty print JSON file in Linux terminal
Tips

Pretty Print JSON in Linux Command Line

JSON is human-readable markup language but reading it in the terminal might be difficult. Learn to format JSON content in a structured way.

ยท Sagar Sharma

Delete links in Linux
Tips

How to Delete Soft Links in Linux

Learn a thing or two about deleting soft links and hard links in the Linux command line.

ยท Abhishek Prakash

Pretty print XML in Linux command line
Tips

Pretty Print XML in Linux Command Line

XML is human-readable markup language but reading it in the terminal might be difficult. Learn to format XML content in a structured way.

ยท Sagar Sharma

How to Use SIGINT and Other Termination Signals in Linux
Quick Tip

How to Use SIGINT and Other Termination Signals in Linux

Terminating executing process is more than just kill -9. Here are some of the prominent termination signals and their usage.

ยท Sagar Sharma

bash test command
Bash Tips

Using test Command in Bash Scripts

Learn to use the test command in bash for testing conditions and making comparisons.

ยท Abhishek Prakash

Exclude files from tar
Tips

Exclude Files and Directories While Creating Tar File

Don't want all the files in your tarball? Here's how to exclude files and folders while creating tar archive file.

ยท Sagar Sharma

find regex command
Tips

Using Find Command With Regex

Enable the beast mode of the find command by using regex for your search.

ยท Sagar Sharma

tcpdump command for packet analysis
Commands

Using tcpdump Command in Linux to Analyze Network

The tcpdump command is a handy utility for network analysis. Learn how to use it with some practical examples.

ยท Abhishek Prakash

Redirect to dev null in Linux
Tips

How to Redirect Output and Error to /dev/null in Linux

Learn how to redirect output or error or both to /dev/null in Linux so that it doesn't show up on the screen.

ยท Sagar Sharma

List files recursively in Linux command line
Quick Tip

How to List Files Recursively in Linux command line

Want to list files recursively and see the contents of all the subdirectories in Linux? Here's how you can do that.

ยท Sagar Sharma

Check SSL certificates
Tutorial

How to Check Certificate with OpenSSL

Learn how to use the openssl command to check various kinds of certificates on Linux systems.

ยท Abhishek Prakash

Install Vim plugins
Vim Tips

How to Extend Vim's Functionality by Adding Plugins

Vim's functionality can be extended with plugins. Here is how you can install and use plugins in Vim. Also learn about updating and removing the plugins.

ยท Pratham Patel

Start, stop and restart Cron jobs
Quick Tip

How to Start, Stop and Restart Cron Jobs

Troubleshooting cron related issues? Starting and stopping cron jobs could help. Here's how to do that.

ยท Abhishek Prakash