Linux Articles

Page 63 of 134

Replacing and then opening stdinstdout over ssh

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

When working with SSH (Secure Shell) connections, understanding how to manipulate stdin and stdout streams can significantly improve remote access efficiency and security. SSH provides several command-line options that allow you to control these standard streams for different use cases, from automated scripting to interactive sessions. Understanding stdin and stdout In Unix-based systems, stdin (standard input) is the file descriptor that represents the input stream, typically receiving data from the keyboard. stdout (standard output) is the file descriptor that represents the output stream, typically displaying data to the terminal. When establishing SSH connections, these streams can be redirected ...

Read More

How to identify hostname and host ID for license generation

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

License generation is an essential aspect of software development that ensures only authorized users have access to specific software, preventing piracy and unauthorized use. One critical element of license generation is the identification of hostname and host ID. This article discusses how to identify hostname and host ID across different operating systems for license generation purposes. Understanding Hostname and Host ID A hostname is a unique label that identifies a device on a network. It helps distinguish one device from another and can be found in the computer's network settings. The hostname is typically a human-readable name assigned ...

Read More

Why does -r option (relocatable) make ld not find any libraries

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

In the world of programming and computer science, there are different techniques and tools used to solve various problems. One common problem that programmers encounter is linking errors. When a program is compiled and linked, it has to find the necessary libraries to function properly. However, there are times when the linker fails to find required libraries, resulting in a linking error. In this article, we will discuss why the -r option (relocatable) makes ld not find any libraries and provide practical examples. What is the -r Option? The -r option is a command-line option used with the ...

Read More

Sendto operation not permitted netsnmp

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

In the world of network management, Simple Network Management Protocol (SNMP) is one of the most widely used protocols. It allows network administrators to monitor and manage network devices remotely. However, while working with SNMP, you might encounter an error message called "sendto operation not permitted netsnmp". This error is quite common and can be caused by several factors. In this article, we will explore the causes of this error, its impact, and how to fix it. What is "sendto operation not permitted netsnmp" Error? When you are working with SNMP, you may receive an error message that ...

Read More

Bash Terminal Redirect to another Terminal

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

The Bash terminal is a powerful tool for interacting with a computer's operating system. One essential feature of Bash is the ability to redirect output from one terminal to another. This can be useful in many situations, such as monitoring command output in real-time or sending messages to another user's terminal session. Understanding Bash Terminal Redirection Bash terminal redirection allows you to redirect the output of commands or scripts to files or other terminal windows using special symbols: > − Redirects output to a file (overwrites existing content) >> − Appends output to a file | ...

Read More

Mechanism of clipboard of xwindow

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

X Window System, commonly known as X11 or simply X, is a windowing system for bitmap displays that was initially designed in the mid-1980s to run on Unix-like operating systems. X Window System has a fundamental concept of a clipboard mechanism, which is used to transfer data between applications through selection buffers managed by the X server. What is a Clipboard? A clipboard is a temporary storage area in memory that allows you to copy and paste text, images, or other data between applications. In X Window System, the clipboard operates differently from traditional systems by using selection ...

Read More

How to run long time process on Udev event

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

Udev is a device manager used by modern Linux systems to detect hardware changes and manage device nodes in the /dev directory. It provides a flexible way to run scripts or programs in response to device events, such as automounting drives, launching backup scripts, or running long-running processes. This article explains how to handle long-time processes triggered by Udev events. Understanding Udev Rules Udev rules are configuration files that specify how Udev should respond to device events. Each rule consists of match conditions that identify devices, actions to take when conditions are met, and optional attributes for fine-tuning ...

Read More

Is it possible to share a Cuda context between applications

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

CUDA is a parallel computing platform and programming model created by Nvidia that allows developers to use a CUDA-enabled graphics processing unit (GPU) to accelerate processing tasks. A CUDA context is a software environment that manages memory and other resources required by a CUDA application. The context is created when an application calls the CUDA API and remains active until the application releases it. One important question that arises in multi-application environments is whether it is possible to share a CUDA context between applications. This article explores the feasibility, advantages, and challenges of sharing CUDA contexts across multiple applications. ...

Read More

Who called my DBus API in Linux system

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

DBus is a widely used message bus system that facilitates communication between different software applications on Linux operating systems. It serves as an inter-process communication (IPC) mechanism, allowing applications to communicate across different contexts. However, determining which application or process is calling a specific DBus API can be challenging. This article explores different methods for identifying the caller of a DBus API on Linux systems. What is DBus? DBus is a message bus system used for inter-process communication (IPC) in Linux systems. It operates as a low-level, asynchronous protocol that enables different software applications to communicate with each ...

Read More

Linking with x86 shared library on Linux x64

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

Dynamic Link Libraries, also known as Shared Libraries, are collections of compiled code, data, and resources that can be loaded and executed by an application at runtime. Shared libraries are commonly used in development of Linux applications and are an integral part of x86 architecture. In this article, we will explore the process of linking with x86 shared libraries on Linux x64 systems. Understanding x86 Shared Libraries An x86 shared library is a file that contains compiled code, data, and resources that can be shared among multiple applications at runtime. Shared libraries are loaded into memory only when ...

Read More
Showing 621–630 of 1,338 articles
« Prev 1 61 62 63 64 65 134 Next »
Advertisements