Modify the Linux Kernel Variables Using Sysctl Command

The Linux “sysctl” command is used to read and modify the kernel runtime variables that control the behavior of the running system and during the boot. This way, you can manage and adjust network, I/O operations, and memory management settings in real-time. If you’re a

Display Memory Statistics With Free command on Linux

The Linux free command displays the total amount of used and free memory, swap memory (if enabled), and the cache/buffer used by the kernel. This information can be used by a system administrator to investigate whether there is a sudden spike in server resource consumption.

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

Converting Documents to Other Formats Using Morphosis in Linux

There are several command-line tools available for Linux to quickly convert documents from one format to another using the appropriate flags. Yet, users often find it overwhelming, even for those who love command-line interfaces, to remember each flag. Hence, a simple GUI application could be

How to Install VirtualBox on Ubuntu 24.04 (with Extension Pack)

VirtualBox is a popular virtualization software and side hustle for Oracle, which likes to keep its fingers warm in various pies. It’s free, open-source, and cross-platform, allowing you to get the same experience on Linux, Windows, and macOS. Of course, you have more 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 Install PyCharm on Ubuntu and Other Linux Distros

PyCharm is a well-known integrated development environment (IDE) for Python programming language that also offers support for Rust, Dart, HTML, JSON, Markdown, and several others. It’s available in two versions: Community and Professional. The Community edition is free and open-source but offers limited features for

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