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.

How to Install SEO Spider on Ubuntu (and Other Linux Distros)

The Screaming Frog SEO Spider is a powerful and flexible site crawler, capable of efficiently crawling both small and very large websites. The free version allows you to crawl up to 500 URLs, while upgrading to the premium version for $259 per year removes this

How to Install and Use Codon on Ubuntu (and Other Linux Distros)

Python is undoubtedly a popular programming language, but due to its design, it lags behind in certain aspects, which leads many programmers to choose a different programming language. One aspect that Python has traditionally faced limitations in executing tasks concurrently and efficiently due to the

Understanding the /proc/cpuinfo File in Linux

In Linux, “/proc” is a special virtual file system that contains valuable system-related information in different files. Such a file is “/proc/cpuinfo“, which stores detailed information about the CPU, such as vendor ID, CPU family, model name, virtualization features, caches, and many more. Since it’s

ShellBench: Perform Benchmark Tests on Various Linux Shells

ShellBench is a free benchmark tool written in a shell script for POSIX shell comparison. It allows you to execute a series of commands in an infinite loop or until the timeout. This way, you can test and compare the performance of various shells like

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 Run and Use Meta’s Llama 3 on Linux

Meta (formerly known as Facebook) has recently launched the Llama 3 large language model. This advanced model comes in two versions: an eight-billion (8B) parameter version and a seventy-billion (70B) parameter version. Llama 3 is a powerful large language model that currently powers Meta AI

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