How to Use Envsubst to Replace Environment Variables in Linux

At one point, you may have come across a template, configuration, or initialization file containing bash variables as placeholders that you’ll need to fill in before actual usage. To fill those variables, you can either use the globally set environment variables, such as “$HOME“, “$USER“,

Inotifywait: Monitor Live Events on Files and Directories on Linux

Inotifywait is a Linux command-line utility that assists system administrators in monitoring events such as opening, modifying, reading, closing, moving, or deleting on files or directories. It can seamlessly integrate with other tools or be used within a shell script. So, if you want to

How to Install LXD on Linux (with Pro’s Practical Examples)

LXD (pronounced lex-dee) is a lightweight container manager that allows you to run Linux containers (LXC), a type of container similar to VMware that maintains its state even after a system reboot and uses the host system kernel. The LXC container creation process is similar

Killport: Stopping Processes by Port Number in Linux

killport is a CLI tool that provides a simple solution to stop processes by their port number, thereby resolving the problem of users struggling to identify the processes behind an open port. This way, you don’t have to follow the traditional method of finding the

Tokei: Quickly Count Different Metrics in Your Codebase

Once you have completed your assignment on a big software project (with or without a team), have you ever thought about how much code in different programming languages has been used in the project? If the project is hosted on GitHub, you might catch a

Cheat: Create a Cheatsheet for Your Favorite Command in Linux

Linux is popular for many reasons, one of which is its open-source nature and wide range of command availability. I’m very fond of its command-line usage instead of GUI, but sometimes, using different commands and remembering the options they have becomes quite troubling for me,

jnv: An Interactive JSON Viewer and jq Filter Editor for Linux

I assume you are aware of jq (a JSON processor to parse and manipulate JSON data right from your command line), and recently we have also written an article on jaq (a superset of jq with additional features and improved performance), but today we bring

Zellij: Modern Drop-in Replacement for Tmux Command on Linux

I’ve used a variety of terminal multiplexers, such as Tmux for CLI and Terminator, Wrap, Wave, and Tilix for GUI. Each of them has a unique flavor to offer, but to be honest, none of them have fully satisfied me, not at least after knowing

Bat is a Modern Drop-in Replacement for Cat Command on Linux

The bat is a modern command-line program written in the Rust programming language, and I can confidently say it’s a great drop-in replacement for our beloved cat command. If you’re wondering why I’m hyping this so much and what it has to offer you that

Chezmoi: Manage Your Dotfiles Across Multiple Linux Systems

If you’ve been using Linux for a decent amount of time, you might now realize that dotfiles on Linux are hidden files usually used for storing configuration for the system or software, e.g., “.bashrc“, “.zshrc”, “.vimrc“, “.git“, just to name a few. There has been

Atuin: A Modern Shell History on Steroids (Installation + Usage)

Atuin is a steroid for your traditional shell history, using SQLite as a database to record each user-issued command along with additional context like exit status, hostname, session, cwd, etc. It also offers a free public server or the option to self-host to sync your

How to Use TLDR Pages on Linux (and Install It’s CLI Tool)

The default “command –help” section and “man command” page are quite overwhelming and confusing for beginners and also for professionals when they encounter a totally new command. In such scenarios, the person usually looks for a dedicated article on that particular command-line tool on the