Satish Kumar has Published 1040 Articles

Linux Commands – Remove All Text After X

Satish Kumar

Satish Kumar

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

143 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

9K+ 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

1K+ 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

531 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

950 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

How to Print Longest Line(s) in a File in Linux?

Satish Kumar

Satish Kumar

Updated on 23-Mar-2023 17:15:22

1K+ Views

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

When to Use xargs in Linux?

Satish Kumar

Satish Kumar

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

144 Views

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

Fastest Method to Check If Two Files Have Same Contents

Satish Kumar

Satish Kumar

Updated on 23-Mar-2023 17:11:29

13K+ Views

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

Locale Environment Variables in Linux

Satish Kumar

Satish Kumar

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

571 Views

Locale Environment Variables in Linux Locale environment variables in Linux play a crucial role in enabling users to communicate effectively with operating system. locale environment variables are responsible for setting language, encoding, and cultural conventions in a system. In this article, we will explore different aspects of locale environment variables ... Read More

How to Use Multiple Databases with docker-compose?

Satish Kumar

Satish Kumar

Updated on 23-Mar-2023 17:03:08

5K+ Views

Introduction Docker is a popular platform for deploying and running applications in a containerized environment. It provides an efficient way to package, distribute and run applications with all their dependencies. One of main advantages of using Docker is that it enables use of multiple databases in an efficient way using ... Read More

Advertisements