Reset the WordPress Admin Password Using CLI (via 2 Methods)

WordPress is a popular CMS for bloggers and journalists, offering a range of features, including multi-user management, allowing admins to create separate accounts for different users with varying privileges. The rule of thumb is to hand over the username and password to the user after

How to Check Python Version in Linux (via 3 Methods)

Python is one of the most widely used programming languages that powers many popular web applications, AI/ML technologies, IoT devices, task automation, and many more. Right now, Python 3 is the latest version, but if you are using an outdated system, you might be using

[Fixed] pkg-config script could not be found in Linux

Are you also facing the “pkg-config script could not be found” or “configure: error: pkg-config is required” error while compiling your favorite program? Then just run one of the following commands based on your Linux distribution, and the problem will be resolved. Interested in knowing

What is Xargs and How to Use it (with 13 Examples)

Xargs is a fantastic command-line tool used to read data streams from the standard input of one command and pass them as arguments to another command when combined via piping. You can seamlessly pair it with various other commands, such as find, rm, cp, mkdir,

Create Desktop Shortcut for AppImage in Linux (3 Methods)

Today I’ll show you how easily and quickly you can create a desktop shortcut for an AppImage, file, script, or app on Linux. All methods mentioned here will work for all Linux distributions, whether it’s Debian, Ubuntu, Red Hat, Fedora, Arch, Manjaro, or others. I

How to Set Up UFW Firewall on Ubuntu 24.04 (for Beginners)

Uncomplicated Firewall (UFW) is a built-in command-line tool for Ubuntu and Ubuntu-based distributions that allows users to easily and quickly create and manage firewalls. If you are planning to allow or restrict incoming/outgoing traffic for HTTP, HTTPS, SSH, FTP, and various other protocols, you can

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