Show Progress of cp, mv, Tar, Rsync, or Scp Commands in Linux

Many Linux commands like cp, mv, rm, and others that perform progressive tasks lack a built-in mechanism or option to display a progress bar. However, a verbose mode is present that can show the detailed insight of each action, but a progress indicator would have

Monitor Network Sockets Using ss Command in Linux

The ‘ss’ command is a tool used to print network socket-related information such as PACKET sockets, TCP sockets, UDP sockets, DCCP sockets, RAW sockets, Unix domain sockets, etc. It is considered the best replacement for the old netstat command (now deprecated), offering new, powerful, and

How to Create a Systemd Service in Linux (under 1 Minute)

Systemd is a popular init system used by many major Linux distributions, such as Ubuntu, Debian, Red Hat, and Fedora. It’s ofter a service manager that manages various programs and processes on your Linux system. The systemd services are defined in unit files. Few programs

How to Find AWS EC2 Instance Type Over SSH (6 Methods)

AWS provides a range of instance types, like t2.micro (eligible for the free tier), t3.micro, c5.large, and many more. When creating the AWS EC2 instance, you must select an instance type for which your next-month bill will be generated. If you happen to forget the

Docker Rollout: Zero Downtime Deployment for Docker Compose

In this article, I’ll introduce you to a tool called “Docker Rollout“, which claims to update Docker Compose services with zero downtime. I’ve been testing it for a while, and to be honest, it can do that in a broader sense. Well, there are some

How to Create Device Files Using the Mknod Command in Linux

The “mknod” (or make node) command was originally used to create the character and block devices that reside in the “/dev” virtual filesystem. However, these devices are not regular data files but special files, and modern systems can now create or delete them by detecting

Superfile: A Modern Terminal File Manager for Linux and macOS

Superfile is a modern terminal file manager that recently caught my attention; it’s not only easy to use but is very user-friendly compared to its alternatives, such as Ranger, MC, or nnn. It allows you to create files and directories, view (process, metadata, clipboard), provide

How to Share Your Linux Terminal Over the Web Using Ttyd

Ttyd is a simple tool that allows you to share a Linux terminal over a web browser. It’s cross-platform and uses the libuv and WebGL2 Javascript APIs for performance and real-time connection between the browser and Linux terminal. The SSL support is offered by OpenSSL.

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