Pradeep Jhuriya has Published 99 Articles

Here Document And Here String in Bash on Linux

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 04-Jan-2023 12:18:17

2K+ Views

Introduction Bash is a Unix shell and command language that is commonly used in Linux and other Unix-based operating systems. It is a powerful tool for automating tasks, managing system configurations and performing various other operations on a Unix-based system. Bash provides several features that make it a powerful and ... Read More

Remove Line Endings From a File on Linux

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 04-Jan-2023 12:00:35

3K+ Views

Introduction Line endings are special characters that mark the end of a line in a text file. On Unix-based systems like Linux, the line ending is represented by a single newline character (''). On Windows, the line ending is represented by a combination of a carriage return ('\r') and a ... Read More

Limiting Process Resource Consumption in Unix

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 04-Jan-2023 11:58:47

179 Views

Introduction In a Unix-based operating system, it is important to manage the resources consumed by processes to ensure that the system runs smoothly. If a process consumes too many resources, it can cause the system to become slow or unresponsive. In some cases, it can even cause the system to ... Read More

Run a Function in a Script from the Command Line on Linux

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 04-Jan-2023 11:55:43

12K+ Views

Introduction BASH (Bourne Again SHell) is a Unix shell and command language that is used frequently in Linux and other Unix-like operating systems. One of the useful features of BASH is the ability to create and use functions within script files. Functions are blocks of code that complete a specific ... Read More

Detach Screen From Another SSH Session

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 04-Jan-2023 11:45:18

398 Views

Introduction In Linux systems, it is possible to open multiple terminal sessions over SSH (Secure SHell). This can be very useful when working on a remote server and you want to keep multiple terminal shell windows open at the same time. However, there may be situations where you need to ... Read More

Insert a Line at Specific Line Number

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 04-Jan-2023 11:43:47

13K+ Views

Introduction Inserting a line at a specific line number in a file can be a useful task when you want to add new information to an existing file, or when you want to reorganize the contents of the file. In Linux, there are several ways to achieve this, but in ... Read More

Split a File at Given Line Number

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 04-Jan-2023 11:41:44

2K+ Views

Introduction Sometimes, it may be necessary to split a large file into smaller chunks for easier manipulation or for transfer to other systems. In Linux, the split command can be used to split a file into smaller files based on a specified number of lines. The split command is a ... Read More

How to Record Linux Terminal Sessions?

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 04-Jan-2023 11:38:02

4K+ Views

Introduction Sometimes it can be helpful to record a terminal session in Linux so that you can review the commands you ran, the output they produced, and any other text that was displayed in the terminal. In this article, we'll discuss three different ways to record terminal sessions in Linux ... Read More

How To Script "Yes" When Installing Programs on Linux?

Pradeep Jhuriya

Pradeep Jhuriya

Updated on 04-Jan-2023 11:20:16

515 Views

Introduction Installing programs on Linux can sometimes require user interaction, such as agreeing to license terms or specifying installation options. One way to automate this process is to use a script that automatically inputs the desired responses. In this article, we will discuss how to script the word "yes" when ... Read More

Previous 1 ... 6 7 8 9 10
Advertisements