Understanding the /etc/mtab File in Linux

In this article, you will learn what the “/etc/mtab” file is in Linux, the difference between the “/etc/mtab” and “/etc/fstab” files, their relationship to the “mount” and “umount” commands, and the different parameters and directives in the “/etc/mtab” file. What is the /etc/mtab file in

How to Install and Use Screen on Linux (15 Practical Examples)

Screen was a popular Linux command-line tool back in the day for launching and managing multiple shell sessions or splitting the screen vertically or horizontally across multiple terminal instances within a single terminal window manager. This way, you are allowed to manage multiple shell sessions

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

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