Skip to main content
Sagar Sharma

Sagar Sharma

157 posts published

A software engineer who loves to tinker with hardware till it gets crashed. While reviving my crashed system, you can find me reading literature, manga, or watering my plants.

Logging in UFW Firewall
Tips

Everything You Need to Know About UFW Logs

Learn all about UFW logs and how to use them effectively. This comprehensive guide covers everything you need to know about UFW logs.

ยท Sagar Sharma

XXD command in Linux
Commands

Using XXD Command in Linux

Discover how to use the XXD command in Linux with practical examples. This comprehensive guide will help you understand the features and functionality of XXD.

ยท Sagar Sharma

nmap ping sweep
Tips

Ping Sweep Using nmap on Linux

See what devices are active on your subnetwork using peng sweep with nmap command in Linux.

ยท Sagar Sharma

Using certbot with Nginx
Tutorial

Create a Web Server with NGINX and Secure it Using Certbot

Certbot makes the SSL certificate deployment and renewal such an effortless process. Learn how to use certbot with Ngnix.

ยท Sagar Sharma

gzip command in Linux
Commands

How to Use the gzip Command in Linux

gzip is one of the most useful but often overlooked utilities. Learn to use this handy tool.

ยท Sagar Sharma

Syntax Highlighting in Zsh
Using Zsh

Enable Syntax Highlighting in Zsh

Improve your Zsh experience by enabling syntax highlighting. Here's how to do that.

ยท Sagar Sharma

Configure and use aliases in zsh
Using Zsh

Configure and Use Aliases in Zsh

Turbo charge your Zsh experience by using aliases for commonly used command combinations.

ยท Sagar Sharma

oh my zsh
Using Zsh

Install Oh My Zsh and Supercharge Your Zsh Experience

Enahnce your Zsh experience with the awesome Oh My Zsh framework.

ยท Sagar Sharma

Pigz command for file compression
Commands

Compress Files Faster Using Pigz on Linux

Pigz is a faster compression tool. Learn how to use it for generating .gz compressed file faster in Linux.

ยท Sagar Sharma

chage command in Linux
Commands

Use the Chage Command in Linux

Learn to use the chage command and manage user account passwords in a more controlled manner.

ยท Sagar Sharma

Use ISO as local repository in Rocky Linux
Tutorial

Use Rocky Linux ISO as a Local Repository

In DIY mood? See how I experimented to use the Rocky Linux ISO as a local repository.

ยท Sagar Sharma

Create home directory for existing users
Tips

Create Home Directory for Existing Users in Linux

Created a user but without the home directory? Worry not. You can add home directory for existing users too. Here's how to do that.

ยท Sagar Sharma

/dev/random and /dev/urandom
Explain

What are /dev/random and /dev/urandom in Linux?

Both /dev/random and /dev/urandom are used for generating random numbers in Linux. Learn more about them.

ยท Sagar Sharma

nmap command in Linux
Commands

nmap Command Examples in Linux

The nmap command can be used for finding devices on your network, open ports and more. Here are some common uses of nmap.

ยท Sagar Sharma

pgrep command
Process Commands

pgrep Command Examples

Want to look for a process and its details? The pgrep command helps you with that. Here's how to use it.

ยท Sagar Sharma

Check number of arguments in Bash
Bash Tips

Check the Number of Arguments in Bash

Working on a bash script that accepts arguments and you need to count them? Here's how to check the number of arguments supplied to your script.

ยท Sagar Sharma

Sort by Columns in Bash
Quick Tip

Sort by Column in Bash

Learn various examples of sorting data by columns in bash scripts and Linux command line.

ยท Sagar Sharma

Fins symbolic links in Linux
Tips

Find All Symbolic Links in Linux

Looking for all the soft links on your Linux system? Here are a couple of methods to find symbolic links.

ยท Sagar Sharma

netstat command in Linux
Network Monitoring Commands

netstat Command Examples

Netstat is one of the most common networking commands in Linux. Learn some useful examples of netstat in this tutorial.

ยท Sagar Sharma

ASCII table
Explain

Understanding the ASCII Table

Learn the history of ASCII, character encoding and the ASCII table. Basically everything important associated with ASCII.

ยท Sagar Sharma

Gunzip command in Linux
Commands

Using gunzip Command in Linux

Learn to use the gunzip command in Linux with these practical examples.

ยท Sagar Sharma

dev null in Linux
Explain

What is /dev/null in Linux?

/dev/null is the blackhole equivalent of Linux systems. What is it and why it used?

ยท Sagar Sharma

Compare Directories in Linux Command Line
Tips

Compare Two Directories in the Linux Command Line

Want to see how the content of the two directories differs? Use the diff command and see what files are identical or different.

ยท Sagar Sharma

Exa command
Tools

How to Install and Use exa on Linux

Exa is a modern replacement to the classic ls command. Apart from git integration, it does several things by default ls cannot do.

ยท Sagar Sharma

List mounted drives in Linux
Tips

List Mounted Drives in Linux

If you want to perform certain operations on a drive, you need to know its details. Learn how to list currently mounted drives in Linux.

ยท Sagar Sharma

dev zero in Linux
Explain

What is /dev/zero in Linux?

One of the special device files in Linux, /dev/zero is used for creating files filled with zeroes.

ยท Sagar Sharma

Install Docker on Debian
Docker Tutorials

Install Latest Docker on Debian Linux

Docker is available in Debian repositories but it is usually the older version. Here's how you can install the latest Docker versions in Debian.

ยท Sagar Sharma

gcc flags
Tips

Important GCC Flags in Linux

You can use GCC flags to extend the functionality of the GCC compiler. Here are some of the common and yet important flags.

ยท Sagar Sharma

tree command in Linux
Commands

tree Command Examples in Linux

The tree command is excellent for viewing the structure of a directory and its subdirectories in Linux. Learn how to use it with practical examples.

ยท Sagar Sharma

Scan port with netcat in Linux
Tips

Scan Ports With netcat Command in Linux

Netcat is a popular networking utility for Linux based systems. Learn how to use it to scan for open ports.

ยท Sagar Sharma