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.

stdout, stdin redirection in Linux
Explain

Explained: Input, Output and Error Redirection in Linux

Redirection is an essential concept in Linux. Learn how to use stdin, stdout, stderr and pipe redirection in Linux command line.

ยท Abhishek Prakash

How to Upgrade Ubuntu Server to 20.04 from 18.04
Tutorial

How to Upgrade Ubuntu Server to 20.04 from 18.04

This step by step guide shows how to upgrade Ubuntu 18.04 LTS server to 20.04 LTS over an SSH connection or otherwise.

ยท Abhishek Prakash

Special File Permissions in Linux: SUID, GUID and Sticky Bit
Explain

Special File Permissions in Linux: SUID, GUID and Sticky Bit

You see an s instead of x in the file permissions? Linux has some special file permissions called SUID, GUID and Sticky Bit. Know more about them.

ยท Abhishek Prakash

Reboot
Tips

How to Reboot Linux Using Command Line

Here are various ways to reboot a Linux system from the command line.

ยท Abhishek Prakash

How to Disable SSH Login With Password
SSH Advanced

How to Disable SSH Login With Password

One of the basic SSH hardening step is to disable password based SSH login. This reduces the risk of a brute force attack on your Linux server.

ยท Abhishek Prakash

Checking Spellings in Linux Command Line
Tips

Checking Spellings in Linux Command Line

Linux command line is versatile. There are commands that can be used to perform spellcheck and find out misspelled words. Here's how!

ยท Abhishek Prakash

Group Management Commands in Linux
Tips

Group Management Commands in Linux

Group is an essential part of Linux system management and security. Check out various commands that you can use for managing groups in Linux.

ยท Abhishek Prakash

Exit docker container
Tips

How to Exit a Docker Container

This quick little docker tip shows how to exit a docker container.

ยท Abhishek Prakash

How to Remove User From Group in Linux [Quick Tip]
Tips

How to Remove User From Group in Linux [Quick Tip]

Learn how to remove a user from a specific group in Linux command line.

ยท Abhishek Prakash

groupmod Command Examples
Group Management

groupmod Command Examples

Learn how to modify group properties like group name and group ID with the groupmod command in Linux.

ยท Abhishek Prakash

groupdel Command Examples
Group Management

groupdel Command Examples

Learn how to delete a group in Linux using groupdel command. Also learn what to do with files owned by the deleted groups.

ยท Abhishek Prakash

groupadd Command Examples
Group Management

groupadd Command Examples

The groupadd command in Linux creates new groups. Learn how to use groupadd command to add new groups in Linux.

ยท Abhishek Prakash

Export Command in Linux Explained
Commands

Export Command in Linux Explained

The export command in Linux is used for creating environment variables. Understand how it works and how you can use export command for practical usage.

ยท Abhishek Prakash

How to Disable Swap in Linux
Tips

How to Disable Swap in Linux

In scenarios like changing the swap size, you should disable the swap first. This quick tutorial shows the steps for disabling swap in Linux.

ยท Abhishek Prakash

Comments in bash shell script
Bash Tips

Writing Comments in Bash Scripts: Single Line, Inline and Multi-line Comments

Wondering about comments in bash script? Here's how to add single, inline or multiline comments in Bash scripts.

ยท Abhishek Prakash

who command
User Identification

who Command Examples

The who command in Linux lists all logged-in users on the system. Here's how to use it to get various information about logged users.

ยท Abhishek Prakash

Run docker containers
Doing Things in Docker

How to Run Docker Containers

In this Docker tutorial, you'll learn various ways of running a container along with the explanation of various options that are used.

ยท Abhishek Prakash

chown command
File Properties Commands

chown Command Examples

The chown command in Linux enables you to change the user and group ownership of a file or directory. Learn to use chown with some practical examples.

ยท Abhishek Prakash

Remove Docker containers
Doing Things in Docker

How to Remove Docker Containers

Remove a specific container or all belonging to same image or all of them. Learn how to remove docker containers in various situations with these practical examples.

ยท Abhishek Prakash

Modify user accounts in Linux
User Account Management

usermod Command Examples

The usermod command in Linux allows you to modify a user account in various ways. Check out what settings you can modify in this tutorial.

ยท Abhishek Prakash

delete users in Linux with userdel command
User Account Management

userdel Command Examples

If you want to delete an existing user in Ubuntu or any other Linux distribution, you can use the userdel command in the terminal.

ยท Abhishek Prakash

Add users in Linux
User Account Management

useradd Command Examples

The useradd command lets a superuser create a new user account on Linux. Here's how to use the useradd command with various options.

ยท Abhishek Prakash

How to Run sudo Commands Without Password
Tips

How to Run sudo Commands Without Password

Learn how to run some or all sudo commands without entering the password on Ubuntu or any other Linux distribution.

ยท Abhishek Prakash

stat command
File Properties Commands

stat Command Examples

You can get file permissions, size, mtime, ctime, atime, ownership and several other file attribute information using the stat command in Linux.

ยท Abhishek Prakash

Add SSH public jey to server
SSH Basics

How to Add SSH Public Key to Server

Public key authentication allows you to access a server via SSH without password. Here are two methods to copy the public ssh key to the server.

ยท Abhishek Prakash

son't use sigkill in Linux
Explain

SIGTERM vs SIGKILL: What's the Difference?

Both SIGTERM and SIGKILL are used for killing a process in Linux. But you should prefer using SIGTERM. Here's why!

ยท Abhishek Prakash

Stop Docker containers
Docker Tutorials

How to Stop Docker Containers

This docker tutorial discusses methods to stop a single docker container, multiple docker containers or all running docker containers at once. You'll also learn to gracefully stop a docker container.

ยท Abhishek Prakash

Complete Guide for Removing Docker Images
Docker Tutorials

Complete Guide for Removing Docker Images

A complete article that discusses various scenarios of removing docker images with examples.

ยท Abhishek Prakash

Troubleshooting Docker
Docker Tutorials

How to Fix Docker Permission Denied Error on Ubuntu

This detailed troubleshooting article helps you fix the permission denied error with Docker on Ubuntu and other Ubuntu-based Linux distributions.

ยท Abhishek Prakash

Docker Run vs Start vs Create: Difference Explained
Docker Tutorials

Docker Run vs Start vs Create: Difference Explained

For a docker beginner, terms like docker start, docker run and docker create could be confusing. This article explains the difference with examples.

ยท Abhishek Prakash