How to Install and Use Doas on Linux (with 9 Examples)

Doas is a privilege escalation program similar to sudo. It was originally designed for OpenBSD, which allows users to run commands as if they were another user (e.g., root), and later, due to its simplicity and unique functionality, it was ported to many other Linux

How to Disable Avahi-Daemon Without Uninstalling in Linux

To disable “avahi-daemon” without uninstalling, you need to first stop the “avahi-daemon” service and then disable it, which will prevent it from starting automatically at boot. 📝 If you come across the “Job for avahi-daemon.service canceled” or “triggering units are still active“, just ignore them

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

What is Package Manager in Linux (Their Types with Examples)

A package manager is a command-line or graphical tool that allows you to easily search, install, update, and remove software packages on a Linux system. The software package is a collection of different files bundled together for simple distribution and installation. When installing any software

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

Install and Use Grunt JavaScript Task Runner on Linux & macOS

The Grunt JavaScript Task Runner could become a resourceful utility in your development as it can automate a wide variety of repetitive tasks such as compilation, autoprefixing, minification, concatenation, linting, and many more. Its installation and configuration are quite simple; all you need to do

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.