Skip to main content

Latest Tutorials

Latest
Change echo output color
Quick Tip

Changing the Color of the echo Command's Output

Using colors with the echo command could make your shell scripts more user friendly and attractive.

ยท Abhishek Prakash

Use NFS to share folders among Linux systems
Tutorial

How I Use NFS for Sharing Folders Among Different Systems in Homelab Setup

Having shared folders is extremely convenient and useful to make your work easier and faster when you have to work with multiple systems.

ยท Helder

EduOps
Rethinking DevOps

EduOps: Applying DevOps To Bring the Academia and Industry Together

Learn what is EduOps and how it can bring the academia and industry closer together!

ยท Avimanyu Bandyopadhyay

Make file executable in Linux
Tips

How to Make a File Executable in Linux terminal?

New to Linux command line and wondering how to make a bash script or some other file executable? Here's how to do it.

ยท Abhishek Prakash

Uptime command in Linux
Commands

How to Check Uptime of Your Linux Server

Stop wondering how long your system has been running. Just check its uptime with uptime command.

ยท Abhishek Prakash

echo command without newline
Quick Tip

How to Use echo Command Without Newline

Every time you use echo, it adds a newline character at the end. Here's what you can do if you want to use echo without newline.

ยท Abhishek Prakash

Checking docker image and container sizes
Doing Things in Docker

How to Check Disk Space Usage for Docker Images, Containers and Volumes

A collection of tips to let you know how to check disk space usage of Docker Images, Containers and Volumes on your Linux server host.

ยท Avimanyu Bandyopadhyay

Delete multiple files based on extension in Linux
Quick Tip

How to Delete Files with Specific Extension in Linux Command Line

Here are a few methods to remove files based on their extension in the Linux command line. Also learn a few tips to be careful in the process.

ยท Abhishek Prakash

What is ZSH?
Using Zsh

What is Zsh? Should You Use it?

Zsh has become so popular lately that Apple made it the default choice on macOS.

ยท LHB Community

A to Z Linux Commands
Resources

A to Z Linux Commands

All the Linux commands that have been covered on LHB organized in alphabetical order.

ยท Abhishek Prakash

echo new lines in bash scripts
Quick Tip

How to echo a New Line in Bash Shell Scripts

Learn various ways of displaying a new line in the output of echo command in Linux.

ยท Abhishek Prakash

Delete lines from text files in Linux command line
Quick Tip

Deleting Specific Lines from a File in Linux Command Line

Here are a few usecases of deleting specific lines from a text file using the sed command.

ยท Abhishek Prakash

Finding PID in Linux command line
Process Handling

Find the PID and PPID of a Process in Linux

Learn how to find PID using a process name in Linux. Also learn to get the parent process ID (PPID) of the given process.

ยท Hunter Wittenborn

grep search in all files and directories
Tips

How to Perform Grep Search on All Files and in All Directories

The versatile grep command lets you perform search for a text in all the files and all the subdirectories of a directory. Here's how to do that.

ยท Abhishek Prakash

Enable SSH on CentOS
SSH Tutorials

How to Set Up SSH on CentOS & RHEL

Learn to enable SSH on CentOS Linux systems. Also learn to configure it to follow the best practices.

ยท Abhishek Prakash

What is BusyBox in Linux
Explain

What is BusyBox in Linux? How to Use it?

Learn why BusyBox has suddenly gained a following among certain Linux users.

ยท Abhishek Prakash

docker dockyard
Explain

Difference between Containerization and Orchestration: A Layman's Outlook

Learn the basic difference between containerization and orchestration through a simple analogy.

ยท Avimanyu Bandyopadhyay

Virtualization of server
Guides

Introduction to Virtualization: A Comprehensive Guide for Beginners

This is a complete beginner's introduction to virtualization. Learn types of virtualization, its essential components and benefits.

ยท Avimanyu Bandyopadhyay

K8s and Kubernetes
Using Kubernetes

Why is Kubernetes Called K8s?

What is K8 or K8s? Is it the same as Kubernetes or is there some difference? This quick article explains all of this.

ยท Abhishek Prakash

Sort the top command on memory usage by processes
Quick Tip

How to Sort Top Command Based on Memory Usage

Top command shows the most CPU consuming processes first. Learn how to sort top on memory usage instead.

ยท Abhishek Prakash

Git switch vs Git checkout command
Using Git

What's the Difference Between Git Switch and Checkout?

You can use both git checkout and git switch for switching between branches. But why do we have two commands for the same thing?

ยท Abhishek Prakash

Vim on Docker
Docker Tutorials

How to Install Vim in a Docker Container

You are likely to not find Vim editor installed in your Docker container. Here's how to get it.

ยท Abhishek Prakash

Homelab
Tips

How I Built a Homelab on the Budget

Want to set up a homelab? Here's how I used old hardware and open source software to build my homelab.

ยท Helder

Docker Compose Tutorial
Docker Tutorials

Setting Hostname in Docker Compose

In this quick Docker tip, you'll learn how to set a hostname for your container via Docker Compose.

ยท Avimanyu Bandyopadhyay