Latest Tutorials

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!
Check out these awesome, money-saving Black Friday deals for Linux users.
ยท Abhishek Prakash

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: 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

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

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

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

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
Here's a beginner's guide for adding an alternate port to SSH server and the steps for connecting to it.
ยท Sagar Sharma

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
Learn to use conditional statements in AWK. With the use of if else, you can write advanced AWK scripts.
ยท Abhishek Prakash

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
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

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

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 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

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
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
Terminating executing process is more than just kill -9. Here are some of the prominent termination signals and their usage.
ยท Sagar Sharma

Using test Command in Bash Scripts
Learn to use the test command in bash for testing conditions and making comparisons.
ยท Abhishek Prakash

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

Using Find Command With Regex
Enable the beast mode of the find command by using regex for your search.
ยท Sagar Sharma

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

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

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

How to Check Certificate with OpenSSL
Learn how to use the openssl command to check various kinds of certificates on Linux systems.
ยท Abhishek Prakash

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

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