Skip to main content
Abhishek Prakash

Abhishek Prakash

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

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

Copy files and folders between host and container
Docker Tutorials

How to Copy Files Between Host and Docker Container

The docker copy command enables you to copy files from host to container and from container to the host. Learn how to use this command.

· Abhishek Prakash

Install Docker on Ubuntu
Docker Tutorials

Properly Installing Docker on Ubuntu [Beginner's Guide]

In the first of Docker tutorial series, you'll learn to install the latest version of Docker Engine Community Edition on Ubuntu Linux.

· Avimanyu Bandyopadhyay

Find files with the locate command
File Searching Commands

locate Command Examples

The locate command allows you to preform a super quick search for files. In this tutorial, you'll learn how locate command works and how to use it.

· Abhishek Prakash

Handling System Restart Required on Ubuntu
Troubleshooting

Handling System Restart Required on Ubuntu

Seeing *** System restart required *** every time you log on to your Ubuntu server? Here's why you see this and what you can do with it.

· Abhishek Prakash

How to Clear Systemd Journal Logs
Tips

How to Clear Systemd Journal Logs

This quick tutorial shows you two ways to clear systemd journal logs from your Linux system.

· Abhishek Prakash

How to Lock and Unlock User in Linux
Tips

How to Lock and Unlock User in Linux

How do you lock a user account in Linux? Even more importantly, how do you unlock the user in Linux? Learn various ways of locking and unlocking users in Linux command line.

· Abhishek Prakash

Practical Examples of the Unzip Command in Linux
Commands

Practical Examples of the Unzip Command in Linux

Got a zip file in the terminal? Learn how to use the unzip command in Linux with these practical examples.

· Abhishek Prakash