
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 1354 Articles for Open Source

15K+ Views
Linux is a powerful operating system that offers a wide range of command-line tools for executing various tasks. One of tasks that often need to be performed is repeating a command at a given interval. This feature can be useful for several reasons, such as monitoring system performance, running scheduled tasks, and performing backups. In this article, we will explore how to repeat a Linux command at a given interval. We will discuss various ways to achieve this, including using cron utility, watch command, and sleep command. Using Cron to Repeat a Command The cron utility is a time-based job ... Read More

3K+ Views
One of most basic and frequently performed tasks in any operating system is search and replace. This becomes even more crucial when working with text files, where multiple instances of same word or phrase may be scattered throughout document. In such cases, manually editing each instance can be both time-consuming and error-prone. In this scenario, a tool like Recursive Search and Replace in Linux comes in handy. In Linux, Recursive Search and Replace can be done via various methods. most common one involves use of command-line tools like Sed, Awk, and Perl. These tools are efficient, lightweight, and have been ... Read More

918 Views
Introduction The awk command is a versatile tool used in Unix and Linux environments for text processing and manipulation. One of its key features is ability to modify files in-place, which is particularly useful when working with large datasets. In this article, we will explore how to save modifications in-place with awk, including examples and subheadings to aid understanding. Understanding Awk Before we delve into how to save modifications in-place with awk, it's important to understand what awk is and how it works. Awk is a programming language designed for processing text files, with primary focus on processing rows of ... Read More

3K+ Views
Introduction CMake is an open-source cross-platform tool used for building, testing and packaging software. It is widely used in industry for its portability and ability to generate build scripts for various build systems such as make, ninja, etc. Qt is a cross-platform application development framework that is widely used in creating GUI applications. In this article, we will discuss a common issue that developers face while configuring a CMake project on Linux, i.e. "CMake configure fails to find Qt5". Understanding Issue When we configure a CMake project with Qt5, CMake needs to find Qt5 package, which includes required libraries, header ... Read More

2K+ Views
When a laptop goes into sleep mode, operating system tries to conserve power by stopping most processes and putting computer in a low-power state. However, sometimes a process may continue to run or periodically wake up computer, preventing it from entering a deep sleep state. This can lead to increased power consumption and a shorter battery life. In this article, we'll explore how to investigate which process is causing wakeups during laptop sleep-mode in MacOS or Linux. Understanding Power Management Subsystem Before we dive into how to investigate sleep mode wakeups, it's important to understand power management subsystem in your ... Read More

535 Views
Introduction In world of computer programming, an ELF (Executable and Linkable Format) file is a binary file format used in Unix-based operating systems such as Linux, FreeBSD, and Solaris. These files contain executable code and data, which are used to launch programs and libraries. In some cases, however, ELF files may contain many zero bytes. In this article, we will explore why ELF files may contain many zero bytes, their impact on programs, and how to fix this issue. Why ELF files contain many zero bytes? An ELF file consists of a header followed by sections containing executable code, data, ... Read More

273 Views
Introduction Linux is an open-source operating system that is popular among developers and system administrators. It is known for its flexibility, reliability, and security features. One of features that make Linux stand out from other operating systems is its ability to interact with various hardware components seamlessly. In this article, we will discuss whether Linux emits events when a monitor is connected with a D-sub connector. We will explore various methods that can be used to detect and manage connection of monitors to Linux-based systems. What is D-sub connector? Before we dive into details of how Linux interacts with monitors ... Read More

426 Views
Introduction 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 or applications without need to write native code or deal with complexity of C or C++ programming languages. On other hand, process execution refers to creation of new processes in operating system. In this article, we will discuss advantages of using JNA over process execution, along with some examples. Improved Performance One of main advantages of using JNA over process execution is improved performance. When using process execution, a new process ... Read More

221 Views
Introduction When working with ARM-based Linux systems, one of critical functions that programmers often need to use is mprotect. This function is used to protect specific areas of memory from unauthorized access, modifying or executing. However, one of common questions asked by developers is whether mprotect flushes instruction cache on ARM Linux. In this article, we will explore concept of mprotect and its impact on instruction cache on ARM Linux. We will also discuss some examples and scenarios that can help you understand function better. What is mprotect? Mprotect is a function that allows programmers to modify memory protection settings ... Read More

4K+ Views
Introduction Linux is an open-source operating system that is popular among users and developers because of its flexibility and security. One of features that makes Linux stand out from other operating systems is its per-process resource limits. These limits ensure that a process does not use more resources than necessary and cause other processes to slow down or fail. However, setting and managing these resource limits can be a challenging task, especially for those who are new to Linux operating system. In this article, we will take a closer look at per-process resource limits in Linux and how to set ... Read More