How to Use Chattr Command in Linux (for Beginners)

Chattr is a UNIX command-line program that’s pre-shipped in most Linux distributions. The role of this command is to allow the admin user to set file attributes that impose restrictions on files. There are a handful of file attributes for different roles, such as the

How to Setup SOCKS5 Proxy Server on Linux Using MicroSocks

VPNs are popular these days, but many users still prefer using a SOCKS proxy to tunnel network connections through them, as it offers faster internet connections and is ideal for managing torrent traffic, despite the generic drawback of unencrypted traffic. You can even access blocked

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

How to Check PHP Version in Linux (via 4 Methods)

PHP is a popular scripting language used in the backend during web development to take the client request, process the request and respond to it, or execute MySQL queries. Many popular CMS (content management systems), such as WordPress, Joomla, Drupal, Laravel, Magento, Symfony, and many

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