Satish Kumar has Published 1032 Articles

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

Satish Kumar

Satish Kumar

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

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

271 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

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

911 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

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

The Use of Swap Space in Modern Linux Systems

Satish Kumar

Satish Kumar

Updated on 23-Mar-2023 16:53:57

1K+ Views

Linux is a free and open-source operating system that is widely used in modern computing systems. It has a rich set of features that make it one of most popular operating systems in world. One such feature is use of swap space. Swap space is a part of Linux file ... Read More

Send stdout to Multiple Commands

Satish Kumar

Satish Kumar

Updated on 23-Mar-2023 16:50:37

682 Views

Introduction When it comes to programming, there are numerous occasions when we need to execute multiple commands and take input or output from a single command. In such cases, sending output of a command to multiple commands becomes an essential task. Sending stdout to multiple commands is one of most ... Read More

Execute Bash Script Directly From a URL

Satish Kumar

Satish Kumar

Updated on 23-Mar-2023 16:42:08

8K+ Views

Introduction Bash scripting is a powerful way of automating repetitive tasks and executing complex commands with a single script. With increasing popularity of web-based technologies, it's now possible to execute Bash scripts directly from a URL. This opens up a whole new world of possibilities for web developers and system ... Read More

Commands to Get Min, Max, Median, and Mean of a Dataset

Satish Kumar

Satish Kumar

Updated on 23-Mar-2023 16:33:43

2K+ Views

When working with datasets, it's important to understand characteristics of data. One of most fundamental aspects of a dataset is its central tendency - point around which data tends to cluster. This can be quantified in a number of ways, including minimum, maximum, median, and mean. In this article, we'll ... Read More

Starting a Shell in Alpine Docker Container

Satish Kumar

Satish Kumar

Updated on 23-Mar-2023 16:25:36

4K+ Views

Docker is a widely popular open-source tool that simplifies process of creating, deploying, and running applications within containers. Alpine, on other hand, is a lightweight Linux distribution that is optimized for Docker containers, making it a perfect choice for those who want to keep their images small and efficient. In ... Read More

Advertisements