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 all files of a directory in Linux command line
Quick Tip

Delete All Files of a Directory in Linux

Here is a quick Linux command tips on deleting the contents of a directory, not the directory itself.

· Abhishek Prakash

LHB Linux Digest Newsletter 23.07
Newsletter

LHB Linux Digest #23.07: gz log files, Self-hosting, Memory Probing and More

A new dedicated self hosting corner along with the regular Linux tips and tutorials.

· Abhishek Prakash

LHB Linux Digest Newsletter 23.06
Newsletter

LHB Linux Digest #23.06: Syslogs, Processes and Troubleshooting Slow Website

Learn about troubleshooting slow WordPress websites, and combining Ghost with Discourse, among other Linux tutorials.

· Abhishek Prakash

Integrating Ghost with Discourse
Tutorial

Integrating Ghost SSO With Discourse Forum

Here's a step by step tutorial to integrate your Ghost members' sign-in with your Discourse forum.

· Abhishek Prakash

Moving Around in Vim
Vim Tips

Moving Around in Vim

Learn to navigate through the text, lines and file in Vim.

· Abhishek Prakash

Vim modes
Vim Tips

Understand Vim Modes

Vim has three different modes for handling user input and processing them.

· Abhishek Prakash

LHB Linux Digest #23.05
Newsletter

LHB Linux Digest #23.05: AI in Linux Terminal, Chattr, Certbot and More

AI in Linux terminal? Yes, that's a thing and it is getting popular.

· Abhishek Prakash

Setup Username and Email in Git
Using Git

Setup Username and Email in Git

Git asking you "please tell me who you are"? You need to set up the git username and email. Here's how to do that.

· Abhishek Prakash

LHB Linux Digest Newsletter
Newsletter

LHB Linux Digest #23.04: Firewall Logs, Bash Tips and FREE Docker eBook

Time for a small gift. Get this Docker Beginner book and start your Docker journey.

· Abhishek Prakash

LHB Linux Monthly Newsletter
Newsletter

LHB Monthly #23.03: Free Kubernetes Courses, chage and pgrep Linux Commands

· Abhishek Prakash

LHB Linux Newsletter
Newsletter

LHB Monthly #23.02: Free Docker Resources, ASCII Code and Usual Linux Learnings

Enhance your Linux knowledge and take it to the next level with Docker.

· Abhishek Prakash

LHB Linux Digest Newsletter
Newsletter

🐧LHB Linux Digest #23.01: Free Linux Books, Courses and More

Lots of free ebooks and courses to help you improve your Linux knowledge.

· Abhishek Prakash

Kill process on specific port
Process Handling

Kill Process Running on a Specific Port

Want to kill the processes running on specific ports? No need to know the process ID or name. You can terminate a process based on the port number it is using.

· Abhishek Prakash

Create large text files in Linux
Tips

How to Create Large Files in Linux

Want to create large file of 1 GB or some other size? Here are various ways of creating large files with predefined sizes in Linux.

· Abhishek Prakash

LHB Linux Digest Newsletter
Newsletter

🐧LHB Linux Digest #22.13: Classic AWK and SED Tools, Docker Alternatives, Linux Certification and More

This edition of LHB Linux digest focuses on classic UNIX commands like AWK and SED.

· Abhishek Prakash

Black Friday Deals for Linux Users are Now Live!

Black Friday Deals for Linux Users are Now Live!

Check out these awesome, money-saving Black Friday deals for Linux users.

· Abhishek Prakash

LHB Linux Digest Newsletter
Newsletter

🐧LHB Linux Digest #22.12: Lesser Known Bash Tips, Block Devices and More

So you think you know bash scripting? How about these lesser known bash features and tips in this newsletter?

· Abhishek Prakash

Brace expansion in bash shell
Bash Tips

Using Brace Expansion in Bash Shell

Brace expansion in the bash shell is a lesser known but an awesome feature. Learn about using them like a Pro Linux user with practical examples.

· Abhishek Prakash

Scan ports with nmap
Tips

Scanning Ports With nmap

Nmap is an open source utility for network discovery and security auditing. Learn how to scan specific or multiple or all ports with nmap.

· Abhishek Prakash

Using if else statements in AWK
AWK Tips

Using if else Statements in Awk

Learn to use conditional statements in AWK. With the use of if else, you can write advanced AWK scripts.

· Abhishek Prakash

Delete links in Linux
Tips

How to Delete Soft Links in Linux

Learn a thing or two about deleting soft links and hard links in the Linux command line.

· Abhishek Prakash

bash test command
Bash Tips

Using test Command in Bash Scripts

Learn to use the test command in bash for testing conditions and making comparisons.

· Abhishek Prakash

LHB Linux Digest Newsletter
Newsletter

🐧LHB Linux Digest #22.11: Concept of Links, Podman, Vim and More

This edition focuses on explaining the concept of links in Linux along with other stuff.

· Abhishek Prakash

tcpdump command for packet analysis
Commands

Using tcpdump Command in Linux to Analyze Network

The tcpdump command is a handy utility for network analysis. Learn how to use it with some practical examples.

· Abhishek Prakash

Check SSL certificates
Tutorial

How to Check Certificate with OpenSSL

Learn how to use the openssl command to check various kinds of certificates on Linux systems.

· Abhishek Prakash

Start, stop and restart Cron jobs
Quick Tip

How to Start, Stop and Restart Cron Jobs

Troubleshooting cron related issues? Starting and stopping cron jobs could help. Here's how to do that.

· Abhishek Prakash

UDP ping in Linux
Quick Tip

How to Do a UDP Ping

Learn two ways of doing a UDP ping in Linux with nmap and netcat commands.

· Abhishek Prakash

known_hosts file in Linux
Explain

Everything You Important You Should Know About the known_hosts file in Linux

There is a known_hosts file in the .ssh directory and it is an integral part of the SSH mechanism. Learn more about it.

· Abhishek Prakash

Find files in Linux
Quick Tip

Find Files by Name in Linux

Finding files by their name is one of the most common scenarios of finding files in Linux. Here are a few examples to help.

· Abhishek Prakash

Check if systemd or not
System Info

How to Know if You Are Using Systemd or Some Other Init in Linux

Is your Linux system using systemd or sysv or some other init system? Here's how to find out.

· Abhishek Prakash