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.

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

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