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
Operating System Articles
Page 93 of 171
Using sed to Replace a Multi-Line String
Introduction Sed, or Stream Editor, is a powerful command-line tool that allows you to manipulate and transform text files. One of most common tasks that you may need to perform is to replace a multi-line string in a file with another string. In this article, we will explore how to use sed to accomplish this task. Understanding Sed's s Command Sed's s command is primary tool that you will use to perform text replacements. It takes following form − s/pattern/replacement/flags Here, pattern is a regular expression that matches text that you want to replace, replacement is text that you ...
Read MoreThe Linux join Command
Introduction Linux is an open-source operating system that provides users with a wide range of utilities and tools for managing and manipulating data. One such tool is join command, which is used to join two different files based on a common field. join command is a very useful utility that can be used to merge or join two files, where one file contains a list of unique fields and other file contains more detailed information about those fields. The Linux join command is a powerful tool that is used to merge two different files based on a common field. command ...
Read MoreLinux comm Command
Introduction Linux is an open-source operating system that provides a wide range of powerful and flexible tools for managing and manipulating files and data. One of essential tools in Linux is "comm" command, which is used to compare two sorted files line by line. This command can be used to identify common lines or differences between files. In this article, we will discuss comm command, its syntax, and examples. Syntax of comm Command The syntax of comm command is as follows − comm [OPTION]... FILE1 FILE2 Here, FILE1 and FILE2 are two files that need to be compared. options ...
Read MoreWeb Operating System
The web operating system is a user interface based on the internet that allows users to access computers locally and through the internet. An operating system is a software that acts as an interface between computer applications and hardware. Web operating system does not directly interact with computer hardware, it is a dummy operating system. Instead, it depends on a traditional operating system for its work. It acts as an interface for systems that are distributed, for instance, distributed cloud computing systems like a cloud. Web OS are created using AJAX and FLASH. AJAX (Asynchronous javascript And XML) ...
Read MoreHow to Evaluate Arithmetic Expressions in Bash?
Bash is a powerful programming language used for writing shell scripts on Linux and other Unix-based systems. One of most common tasks in shell scripting is evaluating arithmetic expressions. In this article, we will discuss how to evaluate arithmetic expressions in Bash and explore some examples. Introduction Arithmetic expressions are mathematical calculations performed on numerical values. In Bash, arithmetic expressions are evaluated using expr command, which evaluates a string as an arithmetic expression and returns result. syntax for expr command is as follows − $ expr expression Here, expression is arithmetic expression to be evaluated. For example, to evaluate ...
Read MoreVolatile data Collection from Window System
Volatile data is not permanent data and this data can be lost when a computer loses its power connection or is switched off. It is usually stored in cache memory or RAM. Random access memory(RAM) is volatile memory used to hold instructions and data of currently running programs. This memory loses integrity after loss of power. Volatile memory is also referred to as temporary memory. It is the memory hardware that fetches or stores data at a high speed. RAM and cache memory are some common examples of volatile memory. Volatile information can be collected remotely or onsite. If ...
Read MoreDifference between Virtual Memory and Job Pool
Introduction Virtual memory − Virtual memory is a mechanism used to manage memory using hardware and software. It is a part of the secondary storage that gives the user an illusion that it is a part of main memory. It helps in running multiple applications with low main memory and increases the degree of multiprogramming in systems. Job pool −Job pool is a type of data structure in a batch processing system where various jobs are queued to be implemented when all the resources are made available. When a job is executed, it is fully present in memory. Job pools ...
Read MoreHow to Print Longest Line(s) in a File in Linux?
Introduction Working with files is a common task for Linux users, and often, you may need to find longest line(s) in a file. While there are several ways to do this, there are a few simple methods that can make process quicker and more efficient. In this article, we will explore various methods for finding longest line(s) in a file in Linux. Method 1: Using wc Command The wc (word count) command is a useful tool that can be used to count number of lines, words, and characters in a file. However, it can also be used to find length ...
Read MoreWhen to Use xargs in Linux?
When it comes to working with command-line utilities in Linux, there are many tools and utilities available that can make your life easier. One such utility is xargs, a command that allows you to execute commands on a list of files, or arguments, from standard input. Xargs is particularly useful when you want to perform an operation on a large number of files, and you want to do it quickly and efficiently. In this article, we will discuss various scenarios where you may need to use xargs in Linux. We will also look at some examples to illustrate how to ...
Read MoreFastest Method to Check If Two Files Have Same Contents
Introduction In today's era of technological advancements, use of computers and various electronic devices has become an essential part of our daily routine. We often find ourselves in situations where we need to compare two files to check if they contain same content or not. This can be a daunting task, especially if files are large in size, and traditional comparison methods can be quite time-consuming. In this article, we will explore fastest methods to check if two files have same contents. What is a File Comparison? A file comparison is a process of comparing two or more files to ...
Read More