Introduction In world of computing, data compression has become a crucial tool in many applications. It is used to reduce size of files, improve transfer speed, and save storage space. Linux operating systems come with a wide range of compression tools, including popular gzip and bzip2. However, there is another compression tool that is becoming increasingly popular in Linux world, and that is xz compression. In this article, we will explore what xz compression is, how it works, and how to use it effectively in Linux. What is xz Compression? xz compression is a high-ratio data compression tool that is ... Read More
Introduction When working on a Linux terminal, you may sometimes need to keep several processes running at same time. However, if you close terminal or accidentally disconnect from a remote session, processes will terminate, and you may lose all your progress. This is where Linux screen command comes in handy. Screen is a powerful command-line utility that allows you to create and manage multiple terminal sessions within a single shell window or over SSH connections. It is a handy tool for managing long-running processes or multiple commands, even if you are not physically connected to server. In this article, we ... Read More
Introduction In Linux operating system, there are many commands that can be used to get system information, manage files, and perform various other tasks. One of most commonly used commands is "free" command. This command is used to display amount of free and used memory in system. In this article, we will discuss "free" command in detail, including its usage, options, and examples. What is Free Command? The "free" command is a tool that is used to display amount of free and used memory in Linux system. This command is very useful for monitoring system performance and identifying memory-related issues. ... Read More
XML is a commonly used format for exchanging data between systems. It is used extensively in web applications and other areas where data needs to be exchanged between different systems. However, XML can be difficult to read and understand when it is in its raw format. Pretty-printing XML is process of formatting XML in a more readable and understandable way. This article will discuss how to pretty-print XML from command line. What is Pretty-Printing? Pretty-printing is process of formatting data in a more human-readable and understandable way. In case of XML, pretty-printing involves adding whitespace and line breaks to XML ... Read More
Introduction Linux commands are essential for operating and managing Linux-based systems. One of most common tasks that Linux administrators and users encounter is manipulating text files. In many cases, they need to remove all text after a certain point in a file, which can be a tedious and time-consuming task if done manually. Luckily, there are Linux commands that can make this process easier and more efficient. In this article, we will explore some of commands that can be used to remove all text after X, and provide examples of their usage. The Sed Command Sed, short for Stream Editor, ... Read More
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 More
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 More
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 More
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 More
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 More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP