How to Use ed (Standard Line Editor) on Unix/Linux

Ed is one of the oldest line editor, having existed for almost four decades. It was introduced long before Vi or Vim, and by looking at its functionality, you can clearly say that Vi drew inspiration from ed, as they share many similarities. Before we

How to Use XXD Command in Linux: A Step-by-Step Guide

The “xxd” command allows to convert data from standard input or a file into hexadecimal or binary output, and it can also reverse the process, converting hex (not binary) to regular characters. Debugging, inspecting non-textual content in hexadecimal, analyzing binary file structures, transporting data in

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

How to Host V3 .Onion Website With Custom Domain on Linux

This article shows you how to set up .onion website with a custom domain for localhost on the dark web. Why would someone want to host their website on the dark web? The reasons could be anything from hosting a private site and keeping others’

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,