Skip to main content

Latest Tutorials

Latest
Deleting multiple lines in Vim
Vim Tips

Delete Multiple Lines in Vim

Want to delete multiple lines or all lines or all empty lines in Vim? Here are a few tips to know about line deletion in Vim.

ยท Abhishek Prakash

Logging with syslogd
Guides

Beginner's Guide to Syslogs in Linux

The good old syslogs are still relevant in the systemd age of journal logs. Learn the basics of logging with syslogd in this guide.

ยท LHB Community

kill vs killall command in Linux
Explain

What's the difference between kill and killall commands?

Both kill and killall commands are used for force stopping (killing) processes in Linux. Learn the difference between the two similar commands.

ยท Abhishek Prakash

Checking open ports in Linux
Tips

How to Check Open Ports in Linux?

Which ports are occupied by which service? How many open ports are there? Learn to scan for open ports on your Linux system or any remote system.

ยท Abhishek Prakash

Install Docker rootless
Docker Tutorials

How to do a Rootless Docker Installation (on Ubuntu and Debian)

Learn how to install Docker in rootless mode so that the daemon runs as root while containers run as normal user.

ยท LHB Community

Show Hidden Special Characters in Vim
Vim Tips

Show Hidden Special Characters in Vim

Wondering if it is 2 spaces or tabs? You can show special characters in Vim and easily identify them.

ยท Abhishek Prakash

Troubleshooting Docker issue
Troubleshooting

Solving 'manifest not found' Error While Pulling Docker Images

Here are some tips on troubleshooting the common 'unknown manifest' error while pulling a Docker image.

ยท Abhishek Prakash

Monitoring SSL certificates with Checkmk
DevOps

How to Monitor SSL/TLS Certificates with Checkmk

Here's a complete step by step guide to set up SSL certificate monitoring with open source tool Checkmk.

ยท LHB Community

Store Helm Charts in Azure Container Registry
DevOps

How to Store Helm Charts in Azure Container Registry

Helm has a lot of awesome tools around it, but chart storage has always been an issue. Let's see how we can make the process a lot easier!

ยท LHB Community

Go to beginning or end of file in Vim
Vim Tips

Go to Beginning or End of File in Vim

Knowing to move to top or bottom of a file is extremely useful while dealing with large text files in Vim.

ยท Abhishek Prakash

FinOps
Rethinking DevOps

FinOps: Optimizing Financial Infrastructure With DevOps

Understand how DevOps can inspire financial frameworks and models in any organization or community.

ยท Avimanyu Bandyopadhyay

Show line numbers in Vim
Vim Tips

How to Show Line Numbers in Vim

Do you know Vim can show absolute, relative and hybrid line numbers? Here's how to set it up.

ยท Abhishek Prakash

Get process name from PID in Linux command line
Process Handling

Find Process Name from its PID

If you know the PID of a process, here's how to get the process name in Linux command line.

ยท Hunter Wittenborn

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