Operating System Articles

Page 38 of 171

How to make a USB device multi-touch enabled

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

In recent years, touch technology has become increasingly popular, with smartphones, tablets, and laptops offering the capability to interact with devices by simply tapping or swiping the screen. However, what if you could use touch technology on your computer using a USB device? This is where the concept of multi-touch enabled USB devices comes into play. In this article, we will explain what multi-touch enabled USB devices are, how to make a USB device multi-touch enabled, and provide examples of popular multi-touch USB devices in the market. What are Multi-touch Enabled USB Devices? Multi-touch enabled USB devices are ...

Read More

Monitoring context switches in Linux

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

Context switching is an essential aspect of modern operating systems that enables them to efficiently manage resources. Context switching is the process of switching from one process to another in a multi-tasking environment. The operating system does this by saving the state of the current process and loading the state of the next process. Monitoring context switches in Linux is a crucial task for system administrators, developers, and users who want to optimize performance of their systems. Understanding Context Switching in Linux Context switching occurs when the operating system switches between multiple processes to give the illusion of ...

Read More

Advantages and Disadvantages of Windows Operating System

Manish Kumar Saini
Manish Kumar Saini
Updated on 17-Mar-2026 43K+ Views

Windows Operating System is a type of operating system based on Graphical User Interface (GUI). It creates an interface between user and machine using graphical elements like icons, pictures, colors, and windows to make computing more intuitive and accessible. The Windows operating system was developed by Microsoft Corporation, an American multinational technology company founded by Bill Gates and Paul Allen. Windows is one of the most popular computer operating systems globally, with over 70% market share on desktop computers. The primary reason behind its popularity is its user-friendly interface, multitasking capabilities, and extensive hardware compatibility. ...

Read More

Cross compile Static Library from Linux for windows

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

When developing software, there is a high chance that software might be used in various operating systems. Therefore, it is important to build software in a cross-platform manner to ensure compatibility with multiple operating systems. In this article, we will focus on cross-compiling static libraries from Linux for Windows. What is a Static Library? A static library is a file that contains pre-compiled code that can be linked with an executable program to create a single, self-contained executable. The code in a static library is linked directly into the executable, which makes it faster and more efficient than ...

Read More

Find last Directory or file from a given path

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

Extracting the last directory or file name from a given path is a common task in shell scripting and Linux command-line operations. For example, from the path /tmp/dir/target, we want to extract target as the final component. While this seems straightforward, there are several edge cases that can cause simple solutions to fail, such as trailing slashes, root directory paths, and filenames containing spaces. Common Solutions Since Linux filesystems use forward slashes (/) as path separators and don't allow slashes in filenames, we can treat the path as slash-separated components and extract the last non-empty element. ...

Read More

How to align 3 files based on first column value

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

When working with data analysis, it is often necessary to align multiple files based on a shared column. This process involves combining data from different sources using a common identifier, typically found in the first column. File alignment is essential for creating comprehensive datasets that can be analyzed effectively. Why Align Multiple Files? In data analysis, we frequently encounter situations where related information is stored across separate files. Aligning these files based on a common column allows us to: Combine data from multiple sources for comprehensive analysis Detect errors and inconsistencies across datasets Create unified reports ...

Read More

Delete empty files and directories in Linux

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

Empty files and directories in Linux systems don't consume significant disk space, but removing them periodically helps maintain system cleanliness and organization. This tutorial covers various methods to delete empty files and directories using the powerful find command in Linux systems. Delete Empty Files in a Directory The find command with specific options can locate and remove all empty files in a directory structure. The basic syntax combines type filtering, empty file detection, and deletion in one command. find . -type f -empty -print -delete Let's examine this command with a practical example. Consider ...

Read More

Does mprotect flush instruction cache on ARM Linux

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 301 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

How to investigate which process causes wakeups during laptop sleep-mode in MacOS (or Linux)

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

When a laptop goes into sleep mode, the operating system tries to conserve power by stopping most processes and putting the computer in a low-power state. However, sometimes a process may continue to run or periodically wake up the computer, preventing it from entering a deep sleep state. This can lead to increased power consumption and 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 diving into how to investigate sleep mode wakeups, it's important to understand the power ...

Read More

Repeat a Linux Command at a Given Interval

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

Linux is a powerful operating system that offers a wide range of command-line tools for executing various tasks. One task that often needs 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 automated backups. In this article, we will explore how to repeat a Linux command at a given interval. We will discuss various methods to achieve this, including using the cron utility, watch command, sleep command, and other scheduling tools. Using Cron to Repeat a Command ...

Read More
Showing 371–380 of 1,707 articles
« Prev 1 36 37 38 39 40 171 Next »
Advertisements