Skip to main content
Abhishek Prakash

Abhishek Prakash

465 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.

Newsletter

LHB Digest #21.06: Monitoring Docker Containers, Self-hosting Jitsi and More

ยท Abhishek Prakash

Newsletter

LHB Digest #21.05: Linux Server Tips, Tutorials and Tools

ยท Abhishek Prakash

Live Patching Ubuntu Server so That You Don't Have to Reboot it
Tips

Live Patching Ubuntu Server so That You Don't Have to Reboot it

Tired of rebooting your Ubuntu server after every security upgrade? You may enable live kernel patching and forget about reboots altogether.

ยท Abhishek Prakash

LHB Digest #21.04: All About Linux Server Security
Newsletter

LHB Digest #21.04: All About Linux Server Security

This is a special edition of LHB Digest newsletter with exclusive focus on Linux server security.

ยท Abhishek Prakash

Newsletter

LHB Digest #21.03: Sysadmin Interview Tips, Self-hosting Google Analytics Alternative and Linux Basics

This edition shares information on self-hosting Plausible, sysadmin job interview tips and basic Linux concepts like login shell and sub shell.

ยท Abhishek Prakash

What is Subshell in Linux?
Explain

What is Subshell in Linux?

You might have heard that a shell script runs in its own shell. Learn more on the concept of subshell in Linux.

ยท Abhishek Prakash

What is login shell in Linux
Explain

What is Login Shell in Linux?

You probably are aware of the shell in Linux. This is where you enter commands and execute programs. But what is this login shell and how is it different from the regular shell?

ยท Abhishek Prakash

Newsletter

LHB Digest #21.02: Uptime Monitoring, Terminal Shortcuts, Linux Commands Tips and More

ยท Abhishek Prakash

LHB Digest #21.01: Docker Notify, Ansible e-book and Planned Improvements for 2021
Newsletter

LHB Digest #21.01: Docker Notify, Ansible e-book and Planned Improvements for 2021

ยท Abhishek Prakash

Using Bash printf Command for Printing Formatted Outputs
Bash Tips

Using Bash printf Command for Printing Formatted Outputs

You may print simple outputs with echo command but that's not enough for complicated formatted outputs.

ยท Abhishek Prakash

List only directories in Linux
Tips

How to List Only Directories in Linux

Listing the contents of a directory is easy. But what if you want to list only the directories, not files and links?

ยท Abhishek Prakash

Process Substitution: An Uncommon but Advanced Way for Input/Output Redirection in Linux
Bash Tips

Process Substitution: An Uncommon but Advanced Way for Input/Output Redirection in Linux

Multiple commands and input/output redirections can be effectively used with bash process substitution.

ยท Abhishek Prakash

Automatically Logout Inactive Users From Linux System
Tips

Automatically Logout Inactive Users From Linux System

Here are two ways you can automatically log out idle users from your Linux system.

ยท Abhishek Prakash

Deploy Talkyard with Docker
Tutorial

Deploying Talkyard Forum Under Nginx With Docker

Deploying Talkyard forum is a tricky task. Follow this hybrid docker approach to deploy Talkyard on a server with other web-services.

ยท Abhishek Prakash

How to Install Docker Compose on Ubuntu
Docker Tutorials

How to Install Docker Compose on Ubuntu

Here are two ways to install Docker Compose on Ubuntu.

ยท Abhishek Prakash

Fixing Broken Pipe Error With SSH Connection
SSH Troubleshoot

Fixing Broken Pipe Error With SSH Connection

SSH connection getting disconnected due to inactivity? Here's how to handle it.

ยท Abhishek Prakash

Linux troubleshooting
Troubleshooting

Handling "System has not been booted with systemd as init system" Error

Learn how to fix "System has not been booted with systemd as init system (PID 1). Can't operate." with Ubuntu Linux on WSL.

ยท Abhishek Prakash

Cloud servers with free plans
Resources

Top Free Linux Cloud Servers to Test or Host Your Web Applications

You can try Linux cloud server platforms for free. Here's how!

ยท Abhishek Prakash

How to Shutdown Ubuntu Server [Beginner's Tip]
Quick Tip

How to Shutdown Ubuntu Server [Beginner's Tip]

Here are various ways you can shut down Ubuntu system from the terminal.

ยท Abhishek Prakash

How to Colorize Diff Output for Better View
Quick Tip

How to Colorize Diff Output for Better View

Get a better look at the diff output with the colored output. The colorized diff makes it easier to distinguish the changes.

ยท Abhishek Prakash

How to Install ifconfig on Debian
Troubleshooting

How to Install ifconfig on Debian

Seeing ifconfig command not found error in Debian? Here's how to install ifconfig command on Debian.

ยท Abhishek Prakash

How to Check if Linux System is Running on Physical System or Virtual Machine?
System Info

How to Check if Linux System is Running on Physical System or Virtual Machine?

Wondering if your Linux server is a virtual machine or a physical system? Here's how to check it.

ยท Abhishek Prakash

Check length of string in bash
Quick Tip

How to Find Length of String in Bash [Quick Tip]

Here are various ways to calculate the length of a string in bash scripts.

ยท Abhishek Prakash

Display file attributes in Linux command line
Quick Tip

How to Display File Size in Human Readable Format (KB, MB, GB) in Linux Terminal

Quick tip to display file size in Linux using the ls command.

ยท Abhishek Prakash

Update Debian Linux
Tips

How to Update Debian Linux

Learn to update Debian Linux system in one single command. Yes, it's that easy and straightforward.

ยท Abhishek Prakash

Which Linux
System Info

How to Find Which Linux Version You Are Running

Logged in on a Linux system via SSH and wondering which Linux distribution is it? Here's how to check the Linux version.

ยท Abhishek Prakash

How to Display Specific Lines of a File in Linux Command Line
Tips

How to Display Specific Lines of a File in Linux Command Line

Here are several ways to display specific lines of a file in Linux command line.

ยท Abhishek Prakash

ln Command Examples
Basic File Commands

ln Command Examples

Links are one of the essential part of the Linux filesystem. Learn how to create links using ln command in this tutorial.

ยท Abhishek Prakash

change SSH port
SSH Basics

How to Change the Default SSH Port in Linux [Properly and Safely]

Changing the default SSH port is one of the several ways to enhance SSH server security. Learn how to do it properly and safely.

ยท Abhishek Prakash

How to List Systemd Services in Linux
Tips

How to List Systemd Services in Linux

Check what systemd services run on your Linux system in this tutorial.

ยท Abhishek Prakash