Satish Kumar has Published 1032 Articles

Difference between devconsole, devtty, and devtty0

Satish Kumar

Satish Kumar

Updated on 23-Mar-2023 17:45:35

125 Views

Introduction In a Linux operating system, every hardware device and most software components are represented as files in /dev directory. Three commonly used devices in /dev directory are devconsole, devtty, and devtty0. These devices are essential for debugging and troubleshooting purposes. However, they have different functionalities and can be confusing ... Read More

Using xz Compression in Linux

Satish Kumar

Satish Kumar

Updated on 23-Mar-2023 17:43:26

5K+ Views

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 ... Read More

Guide to Linux screen Command

Satish Kumar

Satish Kumar

Updated on 23-Mar-2023 17:42:33

669 Views

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. ... Read More

Free Command in Linux

Satish Kumar

Satish Kumar

Updated on 23-Mar-2023 17:41:27

554 Views

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, ... Read More

How to Pretty-Print XML From Command Line?

Satish Kumar

Satish Kumar

Updated on 23-Mar-2023 17:38:50

5K+ Views

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 ... Read More

Linux Commands – Remove All Text After X

Satish Kumar

Satish Kumar

Updated on 23-Mar-2023 17:36:32

307 Views

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 ... Read More

Using sed to Replace a Multi-Line String

Satish Kumar

Satish Kumar

Updated on 23-Mar-2023 17:34:56

12K+ Views

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 ... Read More

The Linux join Command

Satish Kumar

Satish Kumar

Updated on 23-Mar-2023 17:33:58

2K+ Views

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 ... Read More

Linux comm Command

Satish Kumar

Satish Kumar

Updated on 23-Mar-2023 17:32:12

802 Views

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 ... Read More

How to Evaluate Arithmetic Expressions in Bash?

Satish Kumar

Satish Kumar

Updated on 23-Mar-2023 17:17:21

2K+ Views

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 ... Read More

Advertisements