Found 1383 Articles for Open Source

How to run long time process on Udev event

Satish Kumar
Updated on 03-Mar-2023 15:00:11

840 Views

Introduction Udev is a device manager used by modern Linux systems. It detects hardware changes and manages device nodes in /dev directory. Udev provides a flexible way to run scripts or programs in response to device events. This feature can be used to perform various tasks like automounting, launching backup scripts, and running long-running processes. In this article, we will discuss how to run long time processes on Udev events and provide examples to illustrate concepts. Understanding Udev Rules Udev rules are files that specify how Udev should handle device events. A typical rule consists of four parts: a match, ... Read More

Find Unused Fields in Simulink Structure Variables

Satish Kumar
Updated on 03-Mar-2023 14:59:23

192 Views

Introduction Simulink is a popular tool used for modeling and simulating dynamic systems. In Simulink, structure variables are used to store and organize data for easy access and manipulation. However, it is not uncommon for structure variables to contain unused fields, which can make code unnecessarily complex and hard to maintain. In this article, we will discuss how to find unused fields in Simulink structure variables and provide examples to demonstrate process. What are Simulink Structure Variables? In Simulink, a structure variable is a container that holds data in fields. Fields are individual elements of structure that store a single ... Read More

Mechanism of clipboard of xwindow

Satish Kumar
Updated on 03-Mar-2023 14:58:30

178 Views

Introduction X Window System, commonly known as X11 or simply X, is a windowing system for bitmap displays. It was initially designed in mid-1980s to run on Unix-like operating systems. X Window System has a fundamental concept of a clipboard, which is used to transfer data between applications. In this article, we will explore mechanism of clipboard in X Window System. 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. X Window System uses a clipboard to transfer data between applications. ... Read More

Bash Terminal Redirect to another Terminal

Satish Kumar
Updated on 03-Mar-2023 14:58:03

2K+ Views

Introduction The Bash terminal is a powerful tool for interacting with a computer's operating system. One of essential features of Bash is ability to redirect output from one terminal to another. This can be useful in many situations, such as when you want to monitor output of a command in real-time or when you need to send output to another user's terminal. In this article, we will explore how to redirect Bash terminal output to another terminal, including various use cases and examples. Understanding Bash Terminal Redirection Bash terminal redirection allows you to redirect output of a command or script ... Read More

Installing and Configuring Net-SNMP for Linux

Satish Kumar
Updated on 03-Mar-2023 14:57:26

2K+ Views

Net-SNMP is an open-source software suite that implements Simple Network Management Protocol (SNMP) for managing network devices. It provides a wide range of tools that enable network administrators to monitor and manage their systems more effectively. In this article, we will explore how to install and configure Net-SNMP on a Linux system. Prerequisites Before we begin, ensure that you have access to a Linux system with root privileges. Additionally, make sure that system has an active internet connection to download necessary software packages. Installing Net-SNMP To install Net-SNMP on a Linux system, you can use package manager of your distribution. ... Read More

Sendto operation not permitted netsnmp

Satish Kumar
Updated on 03-Mar-2023 14:56:10

698 Views

Introduction In world of network management, Simple Network Management Protocol (SNMP) is one of widely used network protocols. It allows network administrators to monitor and manage network devices remotely. However, while working with SNMP, you might come across 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 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 says “sendto operation ... Read More

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

Satish Kumar
Updated on 03-Mar-2023 14:54:02

177 Views

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

How to identify hostname and host ID for license generation

Satish Kumar
Updated on 03-Mar-2023 14:53:00

904 Views

Introduction License generation is an essential aspect of software development. It ensures that only authorized users have access to specific software, thereby preventing piracy and unauthorized use. One of critical elements of license generation is identification of hostname and host ID. In this article, we will discuss how to identify hostname and host ID for license generation, along with examples. Understanding Hostname and Host ID Before we dive into how to identify hostname and host ID, let's understand what these terms mean. Hostname is label that identifies a device on a network. It is a unique identifier that helps to ... Read More

Replacing and then opening stdinstdout over ssh

Satish Kumar
Updated on 03-Mar-2023 14:51:50

435 Views

Introduction When it comes to remote access, SSH (Secure Shell) is one of most widely used protocols for secure communication. It allows users to remotely access and control servers, and also allows for secure transfer of data. However, sometimes you may need to replace and then open stdin/stdout over SSH to improve efficiency of remote access process. This article will explain how to do this, along with examples. Understanding stdin and stdout Before we dive into details, let's first understand what stdin and stdout are. In Unix-based systems, stdin is a file descriptor that represents standard input stream. It is ... Read More

General DaemonServer Design - Best Practices (CC++, Linux)

Satish Kumar
Updated on 03-Mar-2023 14:50:46

105 Views

Introduction In today’s world, where usage of computers is everywhere, it’s almost impossible not to encounter a daemon server. Daemon servers are crucial for any system to perform tasks in background, without disturbing user’s experience. They are responsible for tasks such as managing file systems, networking, security, and many more. In this article, we will discuss some general daemon server design best practices using CC++ programming language and Linux operating system. Daemon Server Design The design of a daemon server should be efficient, reliable, and easy to manage. A well-designed daemon server should follow certain best practices, some of which ... Read More

Advertisements