Satish Kumar

Satish Kumar

937 Articles Published

Articles by Satish Kumar

Page 26 of 94

How to Kill a Background Process in Linux

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

Linux is a powerful and flexible operating system that allows users to run multiple processes simultaneously, which can increase productivity and efficiency. However, sometimes a background process may become unresponsive or cause system performance issues. In such cases, it becomes necessary to kill the process. In this article, we will discuss how to kill a background process in Linux using various methods. Understanding Background Processes In Linux, a process is a running instance of a program or application. A background process is a process that runs in the background, without requiring user input or interaction. These processes typically ...

Read More

Does mprotect flush instruction cache on ARM Linux

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

When working with ARM-based Linux systems, one critical function that programmers often need to use is mprotect. This function is used to protect specific areas of memory from unauthorized access, modification, or execution. However, a common question asked by developers is whether mprotect flushes the instruction cache on ARM Linux. In this article, we will explore the concept of mprotect and its impact on instruction cache coherency on ARM Linux systems, discussing practical examples and scenarios to help understand this behavior. What is mprotect? mprotect is a system call that allows programmers to modify memory protection settings ...

Read More

Advantages of using JNA over process execution

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

Java Native Access (JNA) is a Java library that provides an interface for accessing native code from Java programs. It enables developers to use functionality of native libraries without needing to write native code or deal with the complexity of C or C++ programming languages. Process execution refers to creating new processes in the operating system to run native code. This article explores the key advantages of using JNA over traditional process execution approaches. Improved Performance One of the main advantages of using JNA over process execution is improved performance. When using process execution, a new process is ...

Read More

Guide to chgrp Command in Linux

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

In Linux, the chgrp command is a useful tool for changing group ownership of files and directories. It is an important command for system administrators who need to manage user permissions and access control on a Linux system. The chgrp command is also useful for collaborative work where users need to share files and directories with specific groups. What is chgrp Command in Linux? The chgrp command is used to change group ownership of files and directories in Linux. It changes the group ownership of a file or directory to a specified group. The command is usually used ...

Read More

Will linux emit event when monitor connect with D-sub connector

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

Linux is an open-source operating system known for its flexibility, reliability, and security features. One feature that makes Linux stand out is its ability to interact seamlessly with various hardware components. This article explores whether Linux emits events when a monitor is connected with a D-sub connector and examines methods to detect and manage monitor connections. What is a D-sub Connector? A D-sub connector (D-subminiature) is a type of electrical connector commonly used for video signals. It is named after its distinctive D-shaped metal shell that provides mechanical support, electromagnetic shielding, and grounding. The most common D-sub video ...

Read More

Remove Blank Lines From a File in Linux

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

When working with files in Linux, it is common to encounter files that contain blank lines. These blank lines can make it difficult to read the file, especially when dealing with large files. In this article, we will explore different methods to remove blank lines from a file in Linux using various command-line tools. Why Remove Blank Lines from a File? There are several reasons why you may want to remove blank lines from a file. First, it makes the file easier to read, especially when dealing with large files. Second, it can help reduce file size, which ...

Read More

10 Lesser Known Effective Linux Commands

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

Linux is a powerful operating system widely used in software development, web hosting, and cloud computing. While most users know basic commands like ls, cd, and cp, Linux offers many lesser-known commands that can significantly boost productivity. These hidden gems can automate complex tasks, save time, and simplify system administration. Let's explore 10 effective but underutilized Linux commands. 1. 'rename' Command The rename command allows you to rename multiple files at once using Perl regular expressions. This is far more powerful than renaming files one by one. rename 's/oldname/newname/' files For example, to change ...

Read More

Installing Java on Linux using SSH

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

Java is a popular programming language widely used for developing various types of software applications. Linux is one of the most popular operating systems for software development due to its stability, security, and open-source nature. In this article, we will discuss how to install Java on Linux using SSH. SSH (Secure Shell) is a secure network protocol used for remote login to a server. It allows users to log in to a remote server and perform various operations using command-line tools. This makes it an excellent choice for installing Java on a Linux machine. We will be using the ...

Read More

Ifconfig Command in Linux

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

The ifconfig command is an essential network administration tool in Linux systems used to configure network interfaces and display network interface parameters. It allows system administrators to view current network configuration, assign IP addresses, enable/disable interfaces, and modify various network settings from the command line. Syntax The basic syntax of the ifconfig command is − ifconfig [interface] [options] Where interface specifies the network interface name (e.g., eth0, wlan0), and options define the actions to perform. If no interface is specified, ifconfig displays information for all available interfaces. Common Options Interface Control ...

Read More

How to Count Number of Files in Linux

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

Linux provides several powerful methods to count the number of files in a directory. This is an essential skill for system administrators, developers, and Linux users who need to manage large datasets, perform system maintenance, or analyze directory contents. Understanding these techniques helps you efficiently handle file management tasks from the command line. Method 1: Using ls Command with grep and wc The ls command combined with grep and wc provides a reliable way to count regular files while excluding directories and special files. ls -l | grep "^-" | wc -l This command ...

Read More
Showing 251–260 of 937 articles
« Prev 1 24 25 26 27 28 94 Next »
Advertisements