Articles on Trending Technologies

Technical articles with clear explanations and examples

Linux – How to find the files existing in one directory but not in the other directory?

Mukul Latiyan
Mukul Latiyan
Updated on 17-Mar-2026 942 Views

Let's consider a case where we have two directories, say d1 and d2, and both these directories contain some files, which may be the same or different. Now we want to list out the names of those files that are present in one of these directories (say d1) and not present in the other directory (say d2). In order to do that we must be familiar with either the diff command or the comm command, as both these commands can be used to solve the above problem. Using the diff Command Let's first explore the diff command, ...

Read More

Difference Between Buffering and Caching in OS

Kiran Kumar Panigrahi
Kiran Kumar Panigrahi
Updated on 17-Mar-2026 2K+ Views

Buffering and caching are two fundamental concepts in operating systems designed to optimize data transmission and processing speed. The key difference is that buffering synchronizes data transmission speeds between sender and receiver, while caching accelerates data access by storing frequently used information closer to the CPU. Understanding these concepts is crucial for grasping how modern operating systems manage data flow and improve system performance through strategic memory utilization. What is Buffering? Buffering refers to a temporary storage area in main memory (RAM) that holds data during transmission between two devices or processes. Its primary purpose is to ...

Read More

How to Fix MySQL \'Command Not Found\' (Linux, Windows, mac OS)?

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

MySQL is a popular open-source relational database management system widely used in web applications for efficient data storage and retrieval. While it's straightforward to install on Linux, Windows, and macOS, users sometimes encounter the "Command Not Found" error when trying to execute MySQL commands. Understanding the "Command Not Found" Error The "Command Not Found" error occurs when the system cannot locate MySQL executable files. This typically happens due to: Incorrect installation − MySQL wasn't installed properly or completely PATH issues − MySQL's bin directory isn't included in the system's PATH variable Wrong installation location − MySQL ...

Read More

How to find the files in Linux that have been changed in the last 24 hours?

Mukul Latiyan
Mukul Latiyan
Updated on 17-Mar-2026 2K+ Views

One thing that is constant about working with Linux is that we will make changes to one file or another with time. There are some files that stay unchanged, for example the files inside the /usr/local/ directory while there are some files that are just temporary and get deleted automatically, like the files or folders you insert in the /tmp directory. Since we know that change is imminent to files and folders, Linux also provides us with different ways to keep track of the files or folders that we change or have changed. The most common way to check ...

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

chkdsk Command with Examples

Mrudgandha Kulkarni
Mrudgandha Kulkarni
Updated on 17-Mar-2026 538 Views

The chkdsk command, short for "check disk, " is a powerful Windows utility that checks and repairs file system errors on hard drives and other storage devices. This command is essential for maintaining disk health and system performance by detecting bad sectors, fixing file system corruption, and recovering readable data from damaged areas. Basic Syntax and Usage The basic syntax for chkdsk is: chkdsk [drive:] [parameters] To use chkdsk, you must run Command Prompt as an administrator. The command requires elevated privileges to access and modify disk structures. Common chkdsk Parameters ...

Read More

Generating a SHA-256 hash from the Linux command line

Mukul Latiyan
Mukul Latiyan
Updated on 17-Mar-2026 4K+ Views

There are plenty of ways to generate a hash on any operating system, but when we talk about generating an almost-unique and fixed size bit hash, then nothing can replace the SHA algorithm. Before making use of the Linux command to generate a SHA-256 hash, we must know what SHA actually is and what it is good for. What is SHA-256? SHA-256 in very simple terms is a cryptographic hash function that has a digest length of 256 bits. It is an algorithm that generates an almost-unique and fixed size 256-bit (32-byte) hash. This algorithm was developed ...

Read More

What is the Real Time Operating System?

Bhanu Priya
Bhanu Priya
Updated on 17-Mar-2026 5K+ Views

A Real-Time Operating System (RTOS) is a specialized operating system designed to process data and respond to inputs within a guaranteed time frame. Unlike general-purpose operating systems that prioritize throughput and resource utilization, RTOS focuses on deterministic timing and predictable response times to meet strict deadlines. The key characteristic of RTOS is that the correctness of the system depends not only on the logical result of computation but also on the time at which results are produced. Missing a deadline, even by microseconds, can lead to system failure in critical applications. Types of Real-Time Operating Systems ...

Read More

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

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

Linked List for Dynamic Partitioning

Diksha Patro
Diksha Patro
Updated on 17-Mar-2026 671 Views

A linked list is made up of nodes, each containing a data element and a pointer to the next node in the list. In dynamic partitioning, each node represents a memory block that can be allocated to processes. The linked list initially represents the entire available memory as a single large block. Dynamic Partitioning in Memory Management Dynamic partitioning is a memory management technique that divides memory into variable-sized segments to accommodate multiple processes simultaneously. Unlike fixed partitioning, it allocates exactly the amount of memory each process needs, minimizing waste. Dynamic Memory Partitioning ...

Read More
Showing 8251–8260 of 61,297 articles
« Prev 1 824 825 826 827 828 6130 Next »
Advertisements