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.

Go to specific line in Vim
Vim Tips

Go to a Specific Line in Vim

To effectively use Vim, you need to master the navigation. Here are a few tips on quickly navigating inside Vim editor.

ยท Abhishek Prakash

LHb newsletter
Newsletter

LHB Linux Digest #22.06: grep, ripgrep, Vim Color Schemes and More

ยท Abhishek Prakash

rmdir command
Directory Operation Commands

rmdir Command Examples

Learn everything about the rmdir command in Linux which is used for deleting folders in Linux command line.

ยท Abhishek Prakash

set timeout in curl
Quick Tip

How to Set Timeout in cURL

Downloading with curl taking too long? Set a timeout with curl command, so you don't have to wait long.

ยท Abhishek Prakash

Rename directory in Linux terminal
Quick Tip

How to Rename a Directory in Linux Command Line

Renaming a directory is the same as renaming the files. You use the mv command.

ยท Abhishek Prakash

Sort files by size
Quick Tip

How to Sort Files by Size in Linux Command Line

Learn to sort files by their size using the ls command in the Linux terminal. Also learn about finding the biggest files.

ยท Abhishek Prakash

curl downloading html instead of zip
Troubleshooting

Curl Downloading HTML Instead of The Actual Zip File? Here's What to Do

Used Curl to download a Zip file from GitHub but got an HTML file instead? That download link is not broken. Here's what you need to do.

ยท Abhishek Prakash

ripgrep command in Linux
Commands

Using ripgrep (rg) Command in Linux

Rust based ripgrep may not be an exact replacement for the classic grep command, it provides plenty of useful search features like the grep command.

ยท Abhishek Prakash

Color schemes in Vim
Vim Tips

Color Schemes in Vim: How to Change and Use Them

Dark or light or something else? The all-rounder Vim editor lets you set color schemes of your preference. Here's how achieve that.

ยท Abhishek Prakash

Syntax highlight in Vim
Vim Tips

Enable Syntax Highlighting in Vim

Using Vim for reading or writing scripts and code? Enable syntax highlighting in Vim for a better experience.

ยท Abhishek Prakash

Making nested directories in Linux
Tips

Making Nested Directories in Linux

Learn to make nested directories so that if a directory in the given path doesn't exist, it is created automatically.

ยท Abhishek Prakash

LHB Newsletter 22.05
Newsletter

LHB Linux Digest #22.05: Intro to Syslog, Rootless Docker and More Linux Tips

ยท Abhishek Prakash

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

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

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

LHB Newsletter
Newsletter

LHB Linux Digest #22.04: AWS Exam Tips, FinOps, Vim Tips and More

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

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

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

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

Newsletter
Newsletter

LHB Linux Digest #22.03: Docker Tips, EduOps and Free Linux Command Line Book

ยท Abhishek Prakash

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

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

LHB Linux Newsletter
Newsletter

LHB Linux Digest #22.02: A to Z Linux Commands, Grep Cheatsheet, Bash Exercises and More

ยท Abhishek Prakash

grep command common use cases and examples
Cheat Sheet

Common Examples of the Grep Command in Linux [With Free Cheatsheet Download]

Here are some practical and common use cases of the grep command. You can also download the cheat sheet for quick reference.

ยท Abhishek Prakash

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