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.

restart server
Tips

3 Easy Ways to Restart Ubuntu Server

You'll learn various ways to restart Ubuntu server in this quick tutorial. The commands discussed here are generic and can be applied on any other Linux distribution.

ยท Abhishek Prakash

What is Symbolic Links in Linux? How to Create Symbolic Links?
Explain

What is Symbolic Links in Linux? How to Create Symbolic Links?

This detailed tutorial tells you what are symbolic links, how to create a symbolic links and other important things associated with symlinks.

ยท Abhishek Prakash

Linux directory structure
Explain

Linux Directory Structure Explained for Beginners

This tutorial explains the Linux directory structure. You'll learn the Linux filesystem hierarchy along with the purpose of the various directories on a Linux system.

ยท Abhishek Prakash

nslookup command
Host Information Commands

nslookup Command Examples

nslookup is one of the popular networking commands in Linux used for querying the Domain Name System (DNS) records. Learn how to use nslookup command.

ยท Abhishek Prakash

tr command in Linux
File Manipulation Commands

tr Command Examples

The tr command in Linux is used to perform simple but useful translations of one set of characters into another. Learn some practical examples of the tr command.

ยท Abhishek Prakash

Print Execution Time of Shell Script in Linux
Tips

Print Execution Time of Shell Script in Linux

This quick tutorial teaches you how to display the execution time of a shell script in Linux.

ยท Abhishek Prakash

How to Setup Discourse Forum on Digital Ocean
Tutorial

How to Setup Discourse Forum on Digital Ocean

This step-by-step tutorial teaches you to install a Discourse forum on Digital Ocean cloud server properly. You'll have a functioning SMTP server with a free SSL installed on your forum.

ยท Abhishek Prakash

echo command in Linux
Commands

echo Command in Linux: 7 Practical Examples

Learn to use the echo command in Linux with these simple but useful examples. The echo command is useful for displaying information in bash shell scripts.

ยท Abhishek Prakash

file command in Linux
File Properties Commands

file Command Examples

Here are various examples of the file command in Linux to determine the actual type of file and gather related information.

ยท Abhishek Prakash

Linux command line
Tips

How to Empty a Log File in Linux

In this tutorial, you'll learn various ways to truncate a log file and delete its content without deleting the file itself.

ยท Abhishek Prakash

which Command Examples
File Searching Commands

which Command Examples

Linux which command is an extremely useful command for locating executable files located anywhere in the Linux system. Learn how to use it.

ยท Abhishek Prakash

Count number of files in Linux
Tips

Count Number of Files in a Directory in Linux

Here are several ways to count the number of files in a directory in Linux command line.

ยท Abhishek Prakash

Bash shell
Bash Tips

How to Split String in Bash Script

In this quick tip, you'll learn to split a string into an array in Bash script.

ยท Abhishek Prakash

Linux Handbook
Tips

Running Linux Commands in Background and Foreground

Learn how to run commands in background in Linux. You'll also learn how to bring the background jobs back to foreground.

ยท Abhishek Prakash

How to Copy a Directory in Linux Command Line [Beginner's Tip]

How to Copy a Directory in Linux Command Line [Beginner's Tip]

This quick tip for beginners demonstrates how to copy a directory in Linux using the cp command. You'll also learn a few additional tips around copying directory.

ยท Abhishek Prakash

du command in Linux
File Properties Commands

du Command Examples

The du command in Linux is used for checking the size of directory. Here are various ways you can find the size of directory in Linux with the du command.

ยท Abhishek Prakash

How to Find Which Shell You Are Using on Linux
Tips

How to Find Which Shell You Are Using on Linux

Here are four simple commands to find out which shell are you using in Linux.

ยท Abhishek Prakash

Python
Python

3 Ways to Write a List to a File in Python

This quick tutorial demonstrates three methods to write a list to a file in Python scripting language.

ยท Abhishek Prakash

How to gzip a Directory in Linux
Tips

How to gzip a Directory in Linux

Trying to gzip a directory and seeing an error in Linux? Here's the command (with explanation) to gzip compress a folder in Linux terminal.

ยท Abhishek Prakash

Rename multiple files in Linux command line
Tips

How to Rename Multiple Files at Once in Linux

Rename command can be used to rename multiple files in Linux at once. Here are some practical scenarios in which you can use the rename command.๏ปฟ

ยท Abhishek Prakash

Create text file in Linux terminal
Tips

4 Ways to Create a Text File in Linux Terminal

In this Linux beginner series, you'll learn various methods to create a file in Linux terminal.

ยท Abhishek Prakash

Get website's IP address in Linux
Tips

How to Find the IP Address of a Website in Linux

Wondering how to get the IP address of a website in Linux? Here are 3 command line utilities to query the DNS and get you the IP address and other details.

ยท Abhishek Prakash

Networking commands in Linux
Tips

How to Find Default Gateway IP in Linux

This quick Linux tip shows various methods to find gateway IP address of your router in Linux command line.

ยท Abhishek Prakash

Find ip address in Linux
Tips

How to Find IP Address in Linux Command Line

How do I find out the IP address of in Linux ? It's a common question for a number of Linux users. Here are multiple ways to get the IP of host system in Linux.

ยท Abhishek Prakash

Fail2ban setup guide
Guides

Secure Your Linux Server With Fail2Ban [Beginner's Guide]

This detailed guide teaches you what is Fail2Ban, how to configure it and how to use it for providing an additional layer of security on your Linux system.

ยท Abhishek Prakash

Fixing 'sudo: unable to resolve host' Error in Linux
Troubleshooting

Fixing 'sudo: unable to resolve host' Error in Linux

This quick tutorial will show you how to fix 'sudo: unable to resolve host hostname' error in Ubuntu or any other Linux distribution.

ยท Abhishek Prakash

bash
Bash Tips

How to Compare Strings in Bash Shell Scripting

In this tutorial you'll learn how to compare strings in bash shell scripts.You'll also learn to check if a string is empty or null.

ยท Abhishek Prakash

How to Update Kali Linux With One Single Command
Tips

How to Update Kali Linux With One Single Command

Learn to update a Kali Linux system in one single command. Yes, it's that easy and straight forward.

ยท Abhishek Prakash

Change the shell in Linux
Tips

How to Change Shell in Linux

This quick tutorial shows how to check the running shell, available shell in the system and how to change the default shell in Linux.

ยท Abhishek Prakash

How to Check Linux Login History
Tips

How to Check Linux Login History

You may want to know who logged on your system and from where. You should also see bad login attempts on your system. Learn how to see login history in Linux.

ยท Abhishek Prakash