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.

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

List Docker containers
Docker Tutorials

How to List Docker Containers

Learn how to see running containers, stopped containers or all the docker containers on your system.

ยท Abhishek Prakash

Beginner's Guide to Analyzing Logs in Linux With journalctl Command
Commands

Beginner's Guide to Analyzing Logs in Linux With journalctl Command

Beginner's guide to using journalctl commands for viewing, filtering and analyzing journal logs in Linux.

ยท Abhishek Prakash

id Command Examples
User Identification

id Command Examples

Every user in Linux has a unique, numeric user ID and a default group with a unique numeric group ID. The id command prints this information.

ยท Abhishek Prakash

Fixing "HTTP Basic: Access Denied" and "Fatal Authentication Failure" Error With GitLab
Troubleshooting

Fixing "HTTP Basic: Access Denied" and "Fatal Authentication Failure" Error With GitLab

Trying to push code changes to remote GitLab repository but it generates authentication error? Here's why it happens and how to fix it.

ยท Abhishek Prakash

How to Replace All Occurrences of a Word in All Files in Linux Command Line
Quick Tip

How to Replace All Occurrences of a Word in All Files in Linux Command Line

Consider a scenario where you have to find all occurrences of a certain text and then replace it with another in all the files. Here's how to do that in Linux command line.

ยท Abhishek Prakash

securing SSH server
SSH Advanced

10 Actionable SSH Hardening Tips to Secure Your Linux Server

Worried about the security of your Linux server? Learn some easy to implement tips on securing SSH and make your Linux server more secure.

ยท Abhishek Prakash

Using Linux Dirname Command in Bash Scripts
Commands

Using Linux Dirname Command in Bash Scripts

The dirname command in Linux extracts the directory path from a file path. Learn some practical examples of using dirname command in bash scripts.

ยท Abhishek Prakash

xargs command examples
File Searching Commands

xargs Command Examples

xargs is one of the most powerful commands in Linux. In this tutorial, you'll learn to use xargs command with some practical and useful examples.

ยท Abhishek Prakash

timeout command
Commands

Put a Timer on Your Running Commands With Timeout Command in Linux

With the timeout command you can set a time limit on running other commands and programs. If the program runs longer than the set limit, timeout kills it. Learn how to use it.

ยท Abhishek Prakash

mkdir command
Directory Operation Commands

mkdir Command Examples

mkdir is one of the essential Linux commands that every Linux user should know. You can create new directories using mkdir.

ยท Abhishek Prakash

ssh config
SSH Advanced

Use SSH Config File to Manage SSH Connections to Various Remote Servers

Using SSH profiles can help you in cases where you regularly connect to various servers. No need to remember the IP address and other such details for SSH connection.

ยท Abhishek Prakash