Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Operating System Articles
Page 33 of 171
Threads vs Processes in Linux
A process is the execution of a program that allows you to perform the appropriate actions specified in a program. It can be defined as an execution unit where a program runs. The OS helps you to create, schedule, and terminate the processes which are used by the CPU. The other processes created by the main process are called child processes. A thread is an execution unit that is part of a process. A process can have multiple threads, all executing at the same time. It is a unit of execution in concurrent programming. Threads within the same process ...
Read MoreHow is Docker different from a Virtual Machine?
When we speak about efficient utilization and proper allocation of computer resources, both virtual machines and Docker containers are effective in their own ways. In the past few years, Docker containers have gained tremendous popularity among organizations of all sizes. It is very important to understand the use-cases and purposes that they both serve if you want to decide which of the two is better for your requirements. However, before we start the discussion make sure that you have the basic knowledge of what Docker is. You can refer to our tutorial on Docker. So without any further ado, ...
Read MoreWhat is a computer hardware organization?
Computer hardware organization refers to the way various hardware components of a computer system are interconnected and work together to execute programs and process data. A computer system consists of several modules, each performing specific functions to ensure smooth operation. Components of Computer Hardware The system hardware consists of the following key components − Input Devices − Keyboard, mouse, microphone Output Devices − Display, printer, speakers CPU Board − Contains the processor and control circuits Memory Board − Houses primary memory modules I/O Board − Provides interface for peripheral devices These components communicate through ...
Read MoreWhat is the computer structure?
Computer structure refers to the way components are arranged and interconnected to enable communication and data flow within a computer system. Understanding this structure is fundamental to grasping how computers process information and execute instructions. The basic computer structure can be visualized as interconnected components working together through various buses and communication pathways. Computer System Structure CPU ALU CU REG ...
Read MoreDifference Between sh and Bash in Linux?
sh and bash are both command-line shells used in Unix-like operating systems, but they serve different purposes and have distinct capabilities. sh (Bourne shell) is the original POSIX-compliant shell, while bash (Bourne Again Shell) is an enhanced, feature-rich successor that extends sh's functionality. What is sh? The sh shell, originally developed by Stephen R. Bourne at Bell Labs, is the standard POSIX shell specification. It provides a minimal, portable command-line interface that works consistently across different Unix systems. sh focuses on compatibility and standardization, making it ideal for writing portable scripts. #!/bin/sh echo "This is a ...
Read MoreWhat is the history of the windows operating system and MSDOS?
The Windows operating system was released by Microsoft in 1985, initially serving as a Graphical User Interface (GUI) layer on top of MS-DOS. This marked a significant shift from command-line interfaces to visual, user-friendly computing environments that allowed users to interact with computers using windows, icons, and menus. Windows Evolution Timeline Windows Operating System Evolution 1985 Windows 1.0 1995 Windows 95 2001 Windows XP 2009 ...
Read MoreHow to find total physical memory (RAM) size on Linux?
We can often get away without checking for total memory usage on servers running Linux. However, sometimes we may want to know the total memory available on our servers. Luckily, there are various ways to accomplish this task. In this tutorial, I'll show you some of them. Using free Command The free command is the simplest among the various commands we'll encounter. It displays the current amount of physical and virtual RAM being utilized by your system. You can run the free utility without any flags to get an idea about how much RAM is currently being used ...
Read MoreHow did the Windows operating system evolve and compare Windows 10 and Ubuntu?
Microsoft Windows has evolved significantly since its first release in 1985, transforming from a simple graphical interface to a comprehensive operating system. This evolution spans multiple decades and represents one of the most significant developments in personal computing history. Windows Evolution Timeline Windows Operating System Evolution Win 1.0 1985 Win 3.0 1990 ...
Read MoreHow to read a Specific Line From a File in Linux?
When working with the Linux command line, reading specific lines from text files is a common task. Rather than viewing entire files, you often need to extract just one particular line based on its line number. This article explores four different methods to read a specific line from a file using various Linux commands and utilities. Sample File Setup Let's create a sample file called test.txt to demonstrate these methods − $ nl test.txt 1 This is line 1, I don't have any interesting data. ...
Read MoreDifferentiate between multiprogramming, multitasking and multiprocessing.
Multiprogramming, multitasking, and multiprocessing are fundamental concepts in operating systems that describe different ways of executing multiple programs or processes. While these terms are often confused, each represents a distinct approach to resource utilization and task execution. Multiprogramming Multiprogramming is the ability of an operating system to execute more than one program on a single processor machine. Multiple tasks or programs can reside in the main memory simultaneously, allowing the CPU to switch between them when one program is waiting for I/O operations. In multiprogramming, the CPU executes some part of one program, then switches to another ...
Read More