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.

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

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