Skip to main content

Latest Tutorials

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

Alpine Linux on VPS
Tutorial

Installing Alpine (or other Linux) on VPS or Bare Metal Server

VPS and cloud server providers offer a narrow selection of Linux distributions. Here's how I installed a distro of my choice on my OVH server.

ยท LHB Community

Hypervisor Type 1 and Type 2
Explain

What is a Hypervisor? What's the Difference Between Type 1 and 2?

A quick look into how hypervisors work and the difference between their two types.

ยท Avimanyu Bandyopadhyay

curl vs wget
Explain

What's the Difference Between curl and Wget?

curl and Wget are widely used for downloading files from the web in the Linux terminal. So, what's the difference and which one is better?

ยท Hunter Wittenborn

Docker DevOps Tips
Tips

How to Upgrade Docker Containers Automatically When Updating Dockerized Web Apps

Updating WebApps is a regular task for sysadmins. Upgrading the containers that hold them is another extra effort. Automate that & make life easier.

ยท Avimanyu Bandyopadhyay

Resize VPS Server Partition
Tutorial

How to Change the Partition Scheme on Your Linux Server?

This tutorial focuses on Virtual Private Servers as a practical use case, but it's also a guide on how to reduce a partition size on any (Debian) Linux machine via the command line.

ยท LHB Community