Articles on Trending Technologies

Technical articles with clear explanations and examples

How to implement thread in kernel space?

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

Kernel-level threads are threads that are created and managed directly by the operating system kernel. Unlike user-level threads, which are managed by thread libraries in user space, kernel threads are scheduled by the kernel's thread scheduler and have direct access to system resources. Functions of Kernel The kernel performs several critical functions in the operating system − Memory management − Allocating and deallocating memory for processes and threads Process and thread scheduling − Determining which processes/threads get CPU time File system management − Managing file operations and storage Interrupt handling − Processing hardware and software interrupts ...

Read More

How to replace string in a large one line, text file in Linux?

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

Some software reads an entire input file into memory before processing it. If the input file contains a very long single-line string, the software may crash due to insufficient memory to hold the entire string. We'll examine methods to replace strings in very large one-line files in Linux. Since some applications cannot handle extremely large single-line files efficiently, we need specialized approaches that don't load the entire file into memory at once. Target File Modern JavaScript frameworks often compress all code into a single line. Consider a one-line JavaScript file called original.js with an error — it ...

Read More

How to Clear Linux terminal screen?

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

The Linux terminal is an essential tool for system administration and daily tasks. During extended terminal sessions, the screen can become cluttered with output from various commands, making it difficult to focus on current work. Clearing the terminal screen helps maintain a clean workspace and improves productivity. Linux provides several methods to clear the terminal screen, each with different behaviors and use cases. Let's explore the most effective approaches. Using the clear Command The clear command is the most common method to clear the terminal screen. It removes all visible text and positions the cursor at the ...

Read More

How to install Git On Mac?

Muthu Annamalai Venkatachalam
Muthu Annamalai Venkatachalam
Updated on 17-Mar-2026 709 Views

Git is a distributed version control system that allows developers to track changes in their code, collaborate on projects, and maintain a complete history of their development work. With Git, multiple developers can work on the same project simultaneously without interfering with each other's changes. This tutorial will guide you through different methods to install Git on macOS, from using the official installer to command-line package managers. What is Git? Git is a distributed version control system that tracks changes in files and coordinates work among multiple developers. Unlike centralized systems, Git stores the complete project history ...

Read More

The Linux join Command

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

The Linux join command is a powerful text processing utility that merges two sorted files based on a common field. It reads the contents of two files and combines lines that share the same value in a specified field, creating a unified output. This command is particularly useful for database-like operations, combining related data from multiple sources, and creating reports from structured text files. Syntax The basic syntax for the join command is − join [options] file1 file2 Key Options Option Description -t CHAR Specify delimiter ...

Read More

Best Whiteboard Applications for Your Linux Systems

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

Whiteboards are essential tools for facilitating brainstorming sessions and collaborating with team members in a digital workspace. With the advent of technology, physical whiteboards are gradually becoming obsolete, as they are being replaced by digital whiteboard applications. If you are using a Linux system, you may be wondering what the best whiteboard applications are. In this article, we will discuss the best whiteboard applications for your Linux systems, along with their features, advantages, and disadvantages. OpenBoard OpenBoard is a free and open-source interactive whiteboard software that is available for Linux systems. It is designed for use in educational ...

Read More

5 Best Vi/Vim-Inspired Code Editors for Linux

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

Vi/Vim-inspired code editors combine the power and efficiency of traditional Vi/Vim with modern graphical interfaces and enhanced features. While Vi and Vim remain popular among developers for their powerful command-line capabilities, many users prefer editors that offer similar functionality with more accessible interfaces and modern conveniences. 1. Neovim Neovim is a modernized fork of Vim designed to be faster, more stable, and extensible. It maintains full compatibility with existing Vim plugins and configurations while introducing significant improvements. Key Features Built-in terminal emulator for executing shell commands without leaving the editor Lua scripting support as an ...

Read More

Where can I set environment variables that crontab will use?

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

Environment variables are typically set in shell configuration files like .bash_profile, .bashrc (Ubuntu), or .zshrc (macOS). However, crontab runs in a minimal environment and doesn't automatically load these shell configuration files, making environment variables unavailable to cron jobs. Understanding the Problem Let's examine a typical shell configuration file with environment variables − immukul@192 dir1 % cat ~/.bash_profile export JAVA_HOME=$(/usr/libexec/java_home) export PATH=$PATH:/usr/local/node/bin export GOROOT=/usr/local/go export GOPATH=/Users/immukul/go_projects These variables work perfectly in a normal terminal session − echo $GOROOT /usr/local/go However, when you create a cron job, these variables ...

Read More

What is a multithreading model in OS?

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

Multithreading is a technique where a process is divided into multiple smaller tasks called threads. Each thread is a lightweight unit of execution that can run concurrently with other threads within the same process. When multiple threads execute simultaneously within a process, it is called multithreading. Modern operating systems provide multithreading support as an essential capability for efficient resource utilization and improved system performance. Types of Multithreading Models Based on functionality and thread management, multithreading models are categorized into four types − One process, one thread − Single-threaded model One process, multiple threads − Multi-threaded ...

Read More

Difference between Operating System and Kernel

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

Both operating system and kernel are types of system software. The basic difference between the two is that an operating system is a system software that acts as the interface between the users and the machine, while a kernel is a part of the operating system that converts user commands into machine language. Understanding the relationship between these two components is crucial for grasping how modern computer systems function and manage resources. What is an Operating System? An Operating System (OS) is system software that manages computer hardware and software resources while providing common services for computer ...

Read More
Showing 9151–9160 of 61,299 articles
« Prev 1 914 915 916 917 918 6130 Next »
Advertisements