DNF (Dandified YUM) is the next-generation package manager for RPM-based Linux distributions. It replaces YUM in more recent versions of Fedora and RHEL/CentOS. However, in RHEL/CentOS 7, the default package manager is still YUM. If you want to use DNF on RHEL/CentOS 7, you can manually install it. This guide will show you how to […]
Read MoreNode.js is a popular JavaScript runtime that enables you to run server-side JavaScript. PM2 is a process manager for Node.js that helps manage your applications, ensuring they run smoothly, automatically restart upon crashes, and allow for easy management of multiple apps. This guide will walk you through installing Node.js and PM2 on an Ubuntu system. […]
Read MoreUsing the Sleep Command in Bash Scripts on Linux When working with Bash scripts in Linux, there are situations where you might want to pause the execution of a script for a certain period. The sleep command is a simple yet powerful tool for this purpose. It allows you to introduce delays between commands, making […]
Read MoreMySQL utf8 vs utf8mb4: What is the Difference Between utf8 and utf8mb4? When working with MySQL databases, you may encounter the character encodings utf8 and utf8mb4, which might appear similar at first glance. However, they have significant differences that can impact how your data is stored and displayed, especially when dealing with diverse characters and […]
Read MoreWhat is the which Command? The which command searches for the location of executable files in the directories specified in the PATH environment variable. When you type a command in the terminal, Linux searches through the directories listed in PATH to find the executable file. The which command shows you the first instance of the […]
Read MoreEssential Commands in Python Python is a versatile, high-level programming language known for its readability and simplicity, making it an excellent choice for beginners and experienced developers alike. One of the reasons Python is so popular is the vast array of built-in commands and functions that allow you to accomplish complex tasks with minimal code. […]
Read MoreUsing the mkfs Command in Linux for Formatting a Filesystem on a Disk or Partition The mkfs (short for make filesystem) command in Linux is a versatile tool that allows users to format disks and partitions with a specified filesystem. Whether you are setting up a new disk, creating a new partition, or reformatting an […]
Read MoreManaging user privileges is a crucial aspect of administering Linux systems, especially when it comes to granting users the necessary permissions to perform administrative tasks. While Linux systems offer a clear separation between regular user accounts and the superuser (root), there are scenarios where you might need to give a user elevated privileges without granting […]
Read MoreUsing the basename Command in Bash Scripts When working with Bash scripts, you often need to extract specific parts of file paths, such as filenames or file extensions. This is where the basename command comes in handy. It allows you to strip the directory path and extract only the filename or the file extension, making […]
Read MoreIntroduction NVM (Node Version Manager) is a popular tool for managing multiple versions of Node.js on a single machine. It allows developers to install, switch, and manage different versions of Node.js seamlessly, making it especially useful for those working on multiple projects that require different Node.js versions. This guide will walk you through the steps […]
Read More