
Sagar Sharma
148 posts published

Redirect Linux Command Output to File
Want to analyze the effect of Linux command for later? Here's how you can save Linux command output to a file.
· Sagar Sharma

Shell Built-in Commands
In Linux, there are shell built-in commands which you are already using but never paid attention to. Learn more about them in this tutorial.
· Sagar Sharma

Clearing Pip Cache
Cleaning Pip cache helps you in troubleshooting and getting fresh Python packages.
· Sagar Sharma

Read File Line by Line in Bash
Here are a couple of ways for reading file line by line in the Bash shell.
· Sagar Sharma

Run Multiple Linux Commands in One Go
In this quick, beginner's tip, learn to run multiple Linux commands one after another in a single command.
· Sagar Sharma

Use For Loop With Array in Bash
In this Bash scripting example, learn how to use for loop with arrays.
· Sagar Sharma

Check if Variable is Empty in Bash
Learn various ways to check if a variable is empty in bash.
· Sagar Sharma

Use Systemctl Status Command to Check Service Status
Learn how to check and understand the status of a systemd service using the systemctl command.
· Sagar Sharma

Get Array Length in Bash
In this quick bash tip, learn about calculating the array length.
· Sagar Sharma

System Calls in Linux
System calls are an integral part of the Linux architecture. Learn about the most common types of system calls in Linux.
· Sagar Sharma

Suspend and Resume Processes in Linux
Learn how to suspend a running process in the Linux command line. Also learn how to resume a stopped process.
· Sagar Sharma

Appending to Arrays in Bash
In this quick Bash tip, you'll learn about appending to an existing array in bash.
· Sagar Sharma

Using exec Command in Bash Shell Scripts
The exec command in shell scripts is super useful for logging, reading from files and running commands by replacing the current process.
· Sagar Sharma

Everything Essential About the tmp Directory in Linux
Learn some crucial things about the /tmp directory. You'll also learn how it is different from the /var/tmp directory.
· Sagar Sharma

What is $0 in a Bash Script?
Get familiar with the special variable $0 in Bash and learn its usage.
· Sagar Sharma

Force Linux User to Change Password at Next Login
Think the passwords need to be changed by a certain user? Here's how to force a Linux user to change the password at the next login.
· Sagar Sharma

chattr Command Examples
With chattr command, you can make a file 'undeletable' even by root. Here are some common usage of the chattr command in Linux.
· Sagar Sharma

Special Variables in Bash Shell Scripting
The bash shell has some special variables that have specific usages and purposes. Learn more about them here.
· Sagar Sharma

Fixing Mount Point Does Not Exist Error in Linux
Learn how to troubleshoot and fix the 'mount point does not exist' error in Linux with our step-by-step guide.
· Sagar Sharma

Fixing 'Umount Target is Busy' Error in Linux
A not-so-uncommon error while using umount command is 'target is busy'. Learn what you can do to get rid of this error.
· Sagar Sharma

How to Replace Environment Variables Using the envsubst Command
Learn how to replace environment variables using the envsubst command. This guide will show you how with examples and tips.
· Sagar Sharma

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

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

Ping Sweep Using nmap on Linux
See what devices are active on your subnetwork using peng sweep with nmap command in Linux.
· Sagar Sharma

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

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

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
Turbo charge your Zsh experience by using aliases for commonly used command combinations.
· Sagar Sharma

Install Oh My Zsh and Supercharge Your Zsh Experience
Enahnce your Zsh experience with the awesome Oh My Zsh framework.
· Sagar Sharma

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