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“,

Running LLMs Locally Using Ollama and Open WebUI on Linux

🚀 Quick Overview In this article, you will learn how to locally access AI LLMs such as Meta Llama 3, Mistral, Gemma, Phi, etc., from your Linux terminal by using an Ollama, and then access the chat interface from your browser using the Open WebUI.

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

Fixed “traceroute: command not found” in Linux

Traceroute is a widely used network management command-line utility for Linux and macOS. It counts the number of hops required for the source to reach the destination, as well as the duration of each hop. It’s pretty useful when you need to troubleshoot the route

How to Install Tiny Tiny RSS Using Docker on PC (Ultimate Guide)

Tiny Tiny RSS (also known as TT-RSS) is a free, open-source, and highly customizable web-based RSS reader that you can set up on your local machine or on your server using Docker. It’s quite an unrecognizable RSS reader, but I find it way better compared

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