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.

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

Using Linux Basename Command in Bash Scripts
Commands

Using Linux Basename Command in Bash Scripts

The basename command in Linux prints the final component in a file path. Learn some practical examples of using basename command in bash scripts.

Β· Abhishek Prakash

Fixing 'Authentication Token Manipulation Error' in Ubuntu Linux
Troubleshooting

Fixing 'Authentication Token Manipulation Error' in Ubuntu Linux

Cannot change user password in Linux because of Authentication Token Manipulation Error? Here are the possible reasons why it happens and how you can fix it.

Β· Abhishek Prakash

How to Restart Apache in Ubuntu
Tips

How to Restart Apache in Ubuntu

A quick tip that shows how to restart Apache server in Ubuntu and other Linux distributions.

Β· Abhishek Prakash

ps command examples in Linux
Process Commands

ps Command Examples

The ps command in Linux is used for getting information about running processes. Here are some useful examples of the complicated and extensive ps command.

Β· Abhishek Prakash

Installing Vim on Ubuntu
Tips

How to Install Vim on Ubuntu

Learn to install Vim on Ubuntu Linux. Also learn to make Vim the default text editor in Ubuntu and Debian based distributions.

Β· Abhishek Prakash

Running aliased commands with sudo access
Tips

How to Run an Alias With Sudo in Linux

By default, you cannot run an aliased command with sudo. Don't worry. With this neat little tip, you'll be able to run any alias with sudo access in Linux.

Β· Abhishek Prakash

Check if file exists in bash
Bash Tips

How to Check if File or Directory Exists in Bash Shell

Here are several ways you can check if file or directory exists in bash shell script. You'll also learn to check if file doesn't exist.

Β· Abhishek Prakash

How to Clear Swap Memory in Linux
Tips

How to Clear Swap Memory in Linux

Learn how to clear swap in Linux without losing any important data. Also learn why would you clear the swap manually.

Β· Abhishek Prakash

Vim cheat sheets

Awesome Vim Cheat Sheets to Help You Learn Vim

A useful collection of Vim cheat sheets to help you learn Vim editor faster. You can use them and download them for free.

Β· Abhishek Prakash

Check swap in Linux
Tips

How to Check Swap Space in Linux

Wondering how much swap your system has and how much swap is in use? Here’s how to check swap usage in Linux.

Β· Abhishek Prakash

How to Increase Swap Size on Ubuntu Linux
Tips

How to Increase Swap Size on Ubuntu Linux

In this quick tip, you’ll learn to increase the swap size on Ubuntu and other Linux distributions.

Β· Abhishek Prakash

Use fallocate Command to Create Files of Specific Size in Linux
Commands

Use fallocate Command to Create Files of Specific Size in Linux

The fallocate is one of the lesser known commands for creating files. What makes fallocate different then the rest is that it allows you to create files of specific sizes.

Β· Abhishek Prakash