Skip to main content
Abhishek Prakash

Abhishek Prakash

454 posts published

Creator of Linux Handbook and It's FOSS. An ardent Linux user who has new-found love for self-hosting, homelabs and local AI.

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

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

LHB Newsletter
Newsletter

LHB Linux Digest #22.01: Bash Scripting Workbook, BusyBox, Self-hosting Disqus Alternative and More

· 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

LHB newsletter
Newsletter

LHB Linux Digest #21.22: Virtualization, Self-hosting Guides and Plans for 2022

· Abhishek Prakash

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

Linux Newsletter
Newsletter

LHB Linux Digest #21.21: Building Homelab on Budget, Alpine Linux, Certifications, Hypervisor and More

· Abhishek Prakash

Newsletter

LHB Linux Digest #21.20: Classic AWK and SED Commands, SSH Tips, Docker Tips, Homelab and More

· Abhishek Prakash

LHB Linux Digest #21.19: Find and Xargs, Unknown Bash Commands, Docker Tips and More
Newsletter

LHB Linux Digest #21.19: Find and Xargs, Unknown Bash Commands, Docker Tips and More

· Abhishek Prakash

Linux find command examples
File Searching Commands

find Command Examples

Learn the super powerful and super useful find command with these practical examples.

· Abhishek Prakash

Shebang in Linux
Explain

What is Shebang in Linux Shell Scripting?

The seemingly insignificant #! characters at the beginning of a shell script has a major significance on how your script will be executed.

· Abhishek Prakash

LHB Weekly Newsletter
Newsletter

LHB Linux Digest #21.18: Log Analysis, HumanOps, Free Cloud Foundry Course and More Bash Tips

· Abhishek Prakash

Watch logs in real time in Linux
Tips

3 Ways to Watch Logs in Real Time in Linux

Here's how to use tail command effectively for watching log files in real time. Less and Mutitail commands also come in handy.

· Abhishek Prakash

Linux troubleshooting
Troubleshooting

Ping Command Not Found? Install Ping on Ubuntu

If you are running Ubuntu in a Docker container, ping command will be missing. You can install ping on Ubuntu with this simple trick.

· Abhishek Prakash

LHB Newsletter
Newsletter

LHB Linux Digest #21.17: Complete Bash Series, Matrix Synapse, Load Balancing

This edition focuses on bash scripting, Emacs, self-hosting Matrix Synapse and learning load balancing with HA Proxy and Keep Alived.

· Abhishek Prakash

Newsletter
Newsletter

LHB Linux Digest #21.16: Multiple WordPress Self Hosting, Handling Quotes, Linux Books

This LHB edition focuses on multiple WordPress installation, Isso commenting hosting and essential Linux learning as always. Plus there is something on Linux books.

· Abhishek Prakash

Handling quotes in Linux shell scripting
Explain

Difference Between Single and Double Quote in Bash Shell

Quotes are an integral part of shell scripting and Linux command but they could often be confusing for new users. This article will demystify quotes for you.

· Abhishek Prakash

Newsletter

LHB Linux Digest #21.15: Rocket Chat Self Hosting, SSH on Android, Seq Command and More

· Abhishek Prakash

Dealing with spaces in file names in Linux
Tips

How to Tackle Filenames With Spaces in Linux

Spaces in the file names could be tricky, specially for new Linux users. Learn how to deal with them.

· Abhishek Prakash

seq command in Linux
Commands

Seq Command in Linux

Print a sequence of numbers with specified increment or format with seq command.

· Abhishek Prakash

Comments
Self Host

Best Commenting Systems for Websites That You Can Self-Host

Here are some ad-free, private commenting systems that you can self-host and own the user data.

· Abhishek Prakash

Newsletter

LHB Linux Digest #21.14: Docker Logging, Server Monitoring, SSH Tips and More

· Abhishek Prakash

Copy files between remote server and local machine using SSH
SSH Basics

4 Ways to Transfer Files Between Remote and Local Systems Over SSH

From legacy scp to modern rsync. From the unconventional sshfs to the GUI convenience of FileZilla. Learn different ways for copying files over SSH.

· Abhishek Prakash

Airmail
Newsletter

LHB Linux Digest #21.13: Server Monitoring, Sysadmin Day, Bash History Tips and More Linux Stuff

LHB completes a year of ethical publishing. Here are the highlights and the usual dose of Linux learning.

· Abhishek Prakash

Simple yet useful bash history tips for Linux users
Bash Tips

5 Simple Bash History Tricks Every Linux User Should Know

Effectively using bash history will save you plenty of time in the Linux terminal.

· Abhishek Prakash

Yum Command Cheat Sheet
Cheat Sheet

Yum Command Cheat Sheet

Keep forgetting Yum commands in Red Hat? Here's a cheat sheet you can download and keep with you for quick reference.

· Abhishek Prakash