Articles on Trending Technologies

Technical articles with clear explanations and examples

Tutorix - AI Tutor

How To Add User to Sudoers & Add User to Sudo Group on CentOS 7

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

If you're new to CentOS 7, one of the first things you'll want to do is learn how to add users to the sudoers file and the sudo group. This will give them elevated privileges and allow them to run commands with root-level permissions. In this article, we'll walk you through the process step-by-step. What is Sudo? Before we get started, let's talk about what sudo is and why it's important. Sudo stands for "superuser do" and is a command that allows users to perform tasks with administrative permissions. By default, only the root user has these permissions ...

Read More

Best Open Source Text Editors (GUI + CLI) in 2023

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 17-Mar-2026 854 Views

Text editors are an essential tool for developers, system administrators, and anyone working with code or configuration files. They enable users to write, edit, and manipulate text with efficiency and precision. This article explores the best open source text editors available in 2023, covering both graphical and command-line options. Open source text editors are freely available software programs that can be modified and customized to fit specific needs. They offer significant advantages including cost savings, flexibility, community support, and the ability to inspect and modify source code for enhanced security and functionality. Graphical User Interface (GUI) Text Editors ...

Read More

How to Fix Cannot find a valid baseurl for repo in CentOS?

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

CentOS is a popular Linux distribution widely used in organizations, web hosts, data centers, and enterprise-level companies. Known for its stability, security, and reliability, CentOS is free and open-source software. However, users may encounter the error message "Cannot find a valid baseurl for repo" when trying to install or update packages using the yum package manager. Understanding the Error Message This error occurs when the YUM package manager cannot connect to repository servers to retrieve necessary packages. A repository (repo) is a centralized storage location containing pre-compiled software packages tested for compatibility with your operating system. ...

Read More

Difference between Turn Around Time (TAT) and Waiting Time (WT) in CPU Scheduling

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

CPU scheduling is a crucial aspect of operating systems that determines the order in which processes are executed on the central processing unit (CPU). Two important metrics used to evaluate the efficiency of CPU scheduling algorithms are Turn Around Time (TAT) and Waiting Time (WT). Understanding the difference between these two metrics provides insights into the performance and responsiveness of a CPU scheduling algorithm. What is Turn Around Time (TAT)? Turn Around Time (TAT) is the total time taken for a process to complete its execution from the moment it enters the system until it finishes. It includes ...

Read More

How to Use IP Command in Linux with Examples?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 600 Views

The IP command is a powerful tool for network configuration in Linux. It is used to show, manipulate routing, devices, policy routing, and tunnels. The IP command is part of the iproute2 package, which is installed by default in most Linux distributions. It replaces legacy tools like ifconfig and route, providing a unified interface for network management. Displaying IP Addresses To display the IP address of all network interfaces, use the following command − Example ip addr show Output 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen ...

Read More

How to use the sub process module with pipes on Linux?

Mukul Latiyan
Mukul Latiyan
Updated on 17-Mar-2026 553 Views

In Python, the subprocess module allows us to work with additional processes and provides a high-level interface for executing system commands. While other modules like os.spawn(), os.system(), and os.popen() offer similar functionality, subprocess is recommended because it provides better control, security, and flexibility. When working with subprocess on Linux, pipes allow us to chain commands together, passing the output of one command as input to another. This is essential for building secure command pipelines without shell injection vulnerabilities. Basic Subprocess Example Let's start with a simple example that demonstrates basic subprocess usage: import subprocess ...

Read More

What is PID manager in Linux?

Arnab Chakraborty
Arnab Chakraborty
Updated on 17-Mar-2026 1K+ Views

In Linux, when an executable stored on disk is called a program, and a program loaded into memory and running is called a process. A process is given a unique number called process ID (PID) that identifies that process to the system when it is started. If we ever need to kill a process, for example, we can refer to it by its PID. As each PID is unique, there is no ambiguity or risk of accidentally killing the wrong process (unless you enter the wrong PID). The PID manager is a kernel subsystem responsible for allocating, managing, and ...

Read More

Implement a Counter in Bash Script on Linux

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 17-Mar-2026 5K+ Views

Counters in Bash scripts are variables used to track the number of times specific events or tasks occur. They are essential for loop control, progress tracking, and performing actions after reaching certain thresholds. Understanding how to implement and use counters effectively can significantly improve your Bash scripting capabilities. What is a Counter Variable in Bash Script? A counter is a variable that stores and increments numerical values to count occurrences of events or iterations. It is commonly used in loops to track the number of iterations performed, count files in directories, or monitor task completion progress. Why ...

Read More

Locale Environment Variables in Linux

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

Locale environment variables in Linux control how the operating system displays and handles language-specific information such as dates, numbers, currency, and text encoding. These variables ensure that users can interact with the system using their preferred language and regional conventions. What is a Locale? A locale is a set of parameters that define a user's language, country, currency, and cultural conventions. It specifies how dates, times, numbers, and character sets are formatted. For example, the US locale uses the dollar ($) as currency and mm/dd/yyyy date format, while the UK locale uses the pound (£) and dd/mm/yyyy format. ...

Read More

3 Ways to Create a Network Bridge in RHEL CentOS 8

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

A network bridge is a software component that allows multiple networks to be connected together, creating a larger network that can be used to share resources and communicate between devices. In Red Hat Enterprise Linux (RHEL) and CentOS 8, network bridging can be achieved in several ways, depending on your needs and preferences. In this article, we will explore three primary methods to create a network bridge in RHEL/CentOS 8, using examples and step-by-step instructions. Whether you need to connect virtual machines or physical devices, these methods will help you set up a bridge that meets your requirements. ...

Read More
Showing 9031–9040 of 61,297 articles
« Prev 1 902 903 904 905 906 6130 Next »
Advertisements