Pradeep Jhuriya has Published 83 Articles

Pass the Output of a Command as an Argument for Another on Linux

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 20-Jan-2023 14:51:39

2K+ Views

Introduction When working with the Linux command line, we often use multiple commands that take important data as arguments. In this tutorial, we'll explore various scenarios on how to use the output of one command as an argument to another. We will create an environment to test our strategies and ... Read More

How to Kill a Detached screen Session on Linux

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 20-Jan-2023 14:48:43

5K+ Views

Introduction Separate screen sessions are an excellent way to perform background processes on a Linux machine. However, sometimes it may be necessary to kill a separate screen session that is no longer necessary. In this article, we will show you how to remove a separate screen session on Linux using ... Read More

Filtering Files Copied When Using rsync on Linux

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 20-Jan-2023 14:44:20

936 Views

Introduction The Linux command-line utility rsync is a powerful and flexible tool for synchronizing files and directories across different computers and locations. It is commonly used for a variety of tasks including backups, file transfers and data replication. One of the main features of rsync is its ability to filter ... Read More

Calculate an MD5 Checksum of a Directory in Linux

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 20-Jan-2023 14:26:11

4K+ Views

Introduction During our daily use of Linux, we may want to check if there are any changes to any of the files in a directory. Or we might want to confirm that the contents of one directory are the same as those of another directory on a different location, disk, ... Read More

Keeping SSH session alive on Linux

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 17-Jan-2023 17:13:39

16K+ Views

Introduction Secure Shell (SSH) is a network protocol that allows secure remote connections between two systems. It is commonly used to access and manage Linux servers remotely. However, one of the problems with using SSH is that your session can be terminated due to downtime or network outages. This can ... Read More

Implement a Counter in Bash Script on Linux

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 17-Jan-2023 17:11:01

4K+ Views

Introduction As a Linux enthusiast, you may have come across situations where you needed to perform some repetitive tasks and wished if you had a counter that could keep track of the number of times you performed a certain task. Well, guess what? Bash scripting allows you to do just ... Read More

Count Duplicate Lines in a Text File on Linux

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 17-Jan-2023 17:07:45

17K+ Views

Introduction There are several reasons why you might want to count the number of duplicate lines in a text file on a Linux system. For example, you may want to find out if there are any errors in your data or you may want to optimize your file by removing ... Read More

Measure CPU usage for a process on Linux?

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 12-Jan-2023 11:10:17

7K+ Views

Introduction On modern multi-core CPUs, it is often useful to know the CPU usage of individual cores for a particular process. This can be helpful for identifying bottlenecks in the system, or for understanding the workload distribution across CPU cores. In this article, we will see how to measure separate ... Read More

Partitioning Disks in Linux

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 12-Jan-2023 11:05:46

4K+ Views

Introduction In Linux, a disk partition is a logical division of a hard disk drive (HDD) or solid-state drive (SSD) that is used to manage data in a more organized manner. Partitions allow you to separate data by function, such as separating system files from user files, or to set ... Read More

Delete Multiple Files at Once in Bash

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 12-Jan-2023 10:56:15

8K+ Views

Introduction Bash is a Unix shell and command language that is commonly used on Linux systems. It allows users to perform a variety of tasks, including deleting files. In this article, we will look at how to delete multiple files at once in Bash on a Linux system. We will ... Read More

Advertisements