Found 1437 Articles for Linux

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

790 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

189 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

1K+ 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

490 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

111 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

Using direct IO with ecryptfs and similar stackable file systems

Satish Kumar
Updated on 03-Mar-2023 14:49:07

152 Views

Introduction Encryption is process of converting plain text into an unreadable format known as ciphertext. encrypted text can only be read with help of a secret key or password. In modern era, encryption has become a very important tool for maintaining data privacy and security. ecryptfs is a popular encryption mechanism that is used in Linux-based operating systems. It provides a secure and transparent way to encrypt files, directories, and entire filesystems. It is a stackable filesystem, which means that it can be layered on top of other filesystems to provide encryption. In this article, we will discuss how to ... Read More

How do you determine which individual pages are resident on Linux

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

242 Views

As a Linux user, it is essential to have a good understanding of how to determine which individual pages are resident on your system. This knowledge can help you optimize your system's performance and avoid memory issues. In this article, we will discuss different ways to identify resident pages on Linux, including using command-line tools and system monitoring utilities. Understanding Resident Pages Before we dive into ways of identifying resident pages on Linux, let's first understand what resident pages are. When a process in Linux accesses a file or program, kernel copies data into memory to speed up future access. ... Read More

Compiling native GCC for arm using cross-compiler

Satish Kumar
Updated on 03-Mar-2023 14:47:15

4K+ Views

Introduction Cross-compiling is process of compiling program for different system than one it is being compiled on. It is typically done to target embedded systems or compile for a different architecture than host system. process of cross-compiling for ARM is essential when targeting embedded systems that are commonly found in Internet of Things (IoT) devices. In this article, we will discuss how to compile native GCC for ARM using a cross-compiler. What is ARM? ARM is a type of processor architecture that is widely used in embedded systems. It is a type of Reduced Instruction Set Computer (RISC) architecture that ... Read More

Advertisements