Finding files modified between two dates in Linux can be a challenge, but with the find command, this task can be accomplished with ease. The find command is a powerful tool that allows you to search for files in a directory and its subdirectories based on various criteria, including modification time. In this article, we’ll go over how you can use the find command to find files modified between two dates in Linux. Syntax You can use Linux find command to find all files modified between two dates recursively. Here’s the basic syntax for using the find command to search…
Author: Rahul
Apache is a popular open-source HTTP server that is widely used to host websites and applications on the Internet. The Apache HTTP server is highly customizable and configurable, and one of the key areas where administrators can make changes is with the Apache Multi-Processing Modules (MPMs). MPMs are the modules that control how Apache handles multiple requests, and they play a crucial role in determining the performance, scalability, and stability of an Apache server. In this article, we will provide a comprehensive introduction to Apache MPMs, including what they are, how they work, and the different types of MPMs available.…
In Java programming, it is often necessary to introduce a delay or pause in the execution of a program. This can be achieved through the use of the Thread.sleep() method. In this article, we will discuss what Thread.sleep() is, why it is used, and how to use it in your Java programs for controlled delays. What is Thread.sleep() in Java? Thread.sleep() is a static method in the java.lang.Thread class. It is used to temporarily halt the execution of the current thread for a specified amount of time. This is useful in cases where you need to introduce a delay in…
Keeping your system’s time accurate is essential, especially if you’re running servers, scheduling tasks, or working with networks. One of the most common ways to ensure your Ubuntu system is synchronized with the correct time is by using an NTP (Network Time Protocol) server. This guide will walk you through the steps to synchronize time with an NTP server on Ubuntu in simple, easy-to-follow instructions. What is NTP? NTP (Network Time Protocol) is a protocol that helps synchronize the clock of your computer with a remote server that provides the correct time. This ensures that your system’s clock is always…
Steal time is a term used to describe a situation where a virtual machine (VM) in a virtualized environment is waiting for CPU time that is not available. In a virtualized setup, multiple virtual machines run on a single physical host, sharing the host’s resources such as CPU, memory, and storage. The CPU scheduler in the Linux kernel is responsible for allocating CPU time to the different VMs based on their priority and workload. Steal time occurs when the hypervisor, which is the layer of software that manages the virtual machines, has assigned more virtual CPUs to a VM than…
Let’s Encrypt is a free, automated, and open Certificate Authority (CA) that provides SSL/TLS certificates to secure websites and other applications. In this article, we will learn how to install Certbot on RHEL & CentOS 9. Prerequisites A running instance of RHEL or CentOS 9 A user with root or sudo privileges Step 1: Update the System Before installing any new package, it is recommended to update the system to the latest available version. Use the following command to update your system: sudo dnf update -y Step 2: Enable EPEL Repository Certbot is not available in the default CentOS repository,…
Apache is one of the most popular open-source web servers available today, offering a robust set of features and high performance. In this article, we’ll show you how to install Apache on RHEL & CentOS Stream 9 and then secure it for production use. Prerequisites Before getting started, you’ll need to have access to a server running RHEL & CentOS Stream 9. You should also have root or sudo privileges so that you can install packages and make changes to the system. Additionally, you’ll need to have a basic understanding of Linux commands and how to use a text editor…
LAMP is a popular open-source web development platform that stands for Linux, Apache, MySQL, and PHP. This acronym represents the core components of a typical Linux-based web server, and it provides a stable and reliable environment for web developers to build and deploy dynamic websites and web applications. In this article, we will show you how to set up a LAMP stack on Red Hat Enterprise Linux (RHEL) and CentOS Stream 9 systems. Prerequisites Before you start, you need to have a freshly installed RHEL or CentOS 9 system with a root user or a user with sudo privileges. You…
vnStat is a lightweight, command-line network traffic monitor that allows you to track the bandwidth usage of your network interface. While it’s easy to use, it might not be the most user-friendly option for everyone. That’s where the vnStat PHP web interface comes in – it provides a graphical representation of the network traffic data that vnStat collects. In this article, we’ll show you how to set up the vnStat PHP web interface on CentOS and Fedora, two popular Linux distributions. Prerequisites Before installing vnStat, make sure that your system meets the following requirements: A running CentOS or Fedora system…
The /etc/mtab file is an important component in the Linux operating system. It contains a record of the currently mounted file systems, including the device name, mount point, and file system type. The information in this file is used by various Linux commands and utilities to determine the status of mounted file systems. What is the /etc/mtab file? In Linux, the /etc/mtab file is a dynamic file that provides a real-time view of the currently mounted file systems. It is updated every time a file system is mounted or unmounted and is used by various Linux commands to determine the…