Satish Kumar

Satish Kumar

937 Articles Published

Articles by Satish Kumar

Page 28 of 94

Save Modifications In-Place with AWK

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 1K+ Views

The AWK command is a versatile tool used in Unix and Linux environments for text processing and manipulation. One of its key features is the ability to modify files in-place, which is particularly useful when working with large datasets or when you need to update configuration files directly without creating temporary copies. Understanding AWK AWK is a programming language designed for processing text files, with a primary focus on processing rows of data. It operates on a pattern-action paradigm where each line of input is tested against patterns, and corresponding actions are executed when matches are found. ...

Read More

How to Enable NUX Dextop Repository on RHEL/CentOS 8

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 1K+ Views

The NUX Dextop repository is a third-party package repository that provides multimedia and desktop packages for Red Hat Enterprise Linux (RHEL) and CentOS systems. Since RHEL/CentOS does not include multimedia software by default due to licensing restrictions, NUX Dextop serves as an essential source for media players, codecs, video editors, and desktop environment packages. This repository requires the EPEL (Extra Packages for Enterprise Linux) repository as a dependency, as it provides additional packages not available in standard RHEL/CentOS repositories. Prerequisites RHEL/CentOS 8 system with latest updates Root access or sudo privileges to execute commands Internet connection ...

Read More

How to Enable or Disable SELinux Boolean Values?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 3K+ Views

SELinux (Security-Enhanced Linux) is a security module that provides mandatory access control (MAC) to Linux-based systems. The SELinux module works by ensuring that each process and user on the system only has access to the resources they need. It does this by defining security contexts for processes, files, and other system resources. One of the key features of SELinux is its use of boolean values. These are binary options that can be set to either "on" or "off" to control specific policy behaviors without modifying the entire security policy. What are SELinux Boolean Values SELinux boolean values ...

Read More

Repeat a Linux Command at a Given Interval

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 15K+ Views

Linux is a powerful operating system that offers a wide range of command-line tools for executing various tasks. One task that often needs to be performed is repeating a command at a given interval. This feature can be useful for several reasons, such as monitoring system performance, running scheduled tasks, and performing automated backups. In this article, we will explore how to repeat a Linux command at a given interval. We will discuss various methods to achieve this, including using the cron utility, watch command, sleep command, and other scheduling tools. Using Cron to Repeat a Command ...

Read More

How to Enable PM2 to Auto Start Node.js App at System Boot?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 3K+ Views

PM2 is a process manager for Node.js applications that provides automatic restart on crashes, multi-application management, and detailed logging. It simplifies Node.js application management by automating common tasks like starting, stopping, and restarting processes while offering real-time performance monitoring capabilities. Enabling auto-start at system boot is critical for production Node.js applications. When servers restart for maintenance or updates, applications must automatically resume without manual intervention to ensure continuous service availability. Installing PM2 Before installing PM2, ensure Node.js is installed by running node -v in your terminal. If not installed, download it from the official Node.js website. ...

Read More

How to Add Hosts in OpenNMS Monitoring Server

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 1K+ Views

OpenNMS is an open-source network monitoring and management platform that helps system administrators monitor their networks, servers, and applications. It provides comprehensive monitoring capabilities that allow administrators to detect and resolve issues before they become critical. In this article, we'll discuss how to add hosts in OpenNMS monitoring server. What are Hosts? Hosts are the devices or servers that you want to monitor. It could be a physical device or a virtual machine. In OpenNMS, hosts are represented as nodes in the system so that the monitoring system can track them for any issues that may arise. Adding ...

Read More

How to Enable RHEL Subscription in RHEL 8?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 4K+ Views

Red Hat Enterprise Linux (RHEL) 8 is a popular enterprise operating system known for its stability, security, and performance. Released in May 2019, RHEL 8 features a modular architecture allowing users to select specific components based on their needs. A crucial aspect of RHEL 8 is its subscription model, which provides access to software updates, security patches, and technical support. To fully utilize RHEL 8, users must have a valid subscription. Without it, you cannot access critical updates, security patches, or Red Hat's technical support, potentially exposing your system to security vulnerabilities and operational risks. Understanding RHEL Subscription ...

Read More

Recursively List All Files in a Directory Including Symlinks

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 2K+ Views

When managing files and directories in any operating system, being able to list all files in a directory is an essential task. However, it becomes more complex when you need to recursively traverse subdirectories and include symbolic links (symlinks). This is particularly important for system administrators and developers working with large, complex file systems where understanding the complete directory structure, including linked files, is crucial. What is a Symlink? A symlink (symbolic link or soft link) is a special type of file that acts as a pointer to another file or directory. It provides a way to create ...

Read More

How to Enable RPMForge Repository in RHEL/CentOS 8?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 1K+ Views

The RPMForge repository is a third-party package repository that contains various software packages not available in the default repositories of RHEL/CentOS 8. This repository provides additional software packages, updates, and patches that can be installed to enhance system functionality and performance. By enabling RPMForge, you gain access to a vast range of software packages for RHEL/CentOS 8 that are otherwise unavailable. System administrators and developers particularly benefit from this repository as it provides essential packages for development and system management tasks. Checking for Existing Repositories Before enabling RPMForge repository, check whether there are any existing repositories already ...

Read More

Append Lines to a File in Linux

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 25K+ Views

Appending lines to a file is a fundamental Linux operation that allows you to add new content to existing files without overwriting their original contents. This is particularly useful for log files, configuration updates, and data collection tasks where preserving existing information is crucial. Using echo Command The echo command is the simplest method to append text to a file. It displays text and can redirect output using the append redirection operator >>. echo "New line of data" >> filename.txt The >> operator appends the text to the end of the file. If the ...

Read More
Showing 271–280 of 937 articles
« Prev 1 26 27 28 29 30 94 Next »
Advertisements