Mukul Latiyan has Published 474 Articles

How to check if a Perl hash already contains a key?

Mukul Latiyan

Mukul Latiyan

Updated on 26-Dec-2022 16:40:11

4K+ Views

Let's consider a scenario where we would want to know if a Perl hash already contains a key or not. To do so in Perl, we can use the exists() function. In this tutorial, we will explore the exists function with the help of two examples. The exists() Function in ... Read More

How to check if a Perl array contains a particular value?

Mukul Latiyan

Mukul Latiyan

Updated on 26-Dec-2022 16:28:21

6K+ Views

In Perl, we can check whether an array contains a particular value or not with the help of the "grep" keyword. The grep function in Perl is used to filter the input supplied in the function as a parameter out of the list of items. Similar to Linux, it uses ... Read More

How to break out of a loop in Perl?

Mukul Latiyan

Mukul Latiyan

Updated on 26-Dec-2022 16:23:22

8K+ Views

In most programming languages, we can use the "break" keyword to break out of any type of loop. In Perl too, we have the "break" keyword available, but the keyword that is used the most to break out of a loop is the "last" keyword. The "last" Statement in Perl ... Read More

Voca: The Ultimate Javascript library for String Manipulation

Mukul Latiyan

Mukul Latiyan

Updated on 11-Oct-2022 14:24:39

358 Views

Voca is a JavaScript library that is used for manipulating strings. In this tutorial, we will take multiple examples to show how you can use the different functions available in Voca. Features of Voca Before we see all the examples, let's highlight some features that Voca brings to the table ... Read More

Logging HTTP Requests and Errors using Morgan.js

Mukul Latiyan

Mukul Latiyan

Updated on 11-Oct-2022 14:18:24

2K+ Views

Morgan is a middleware that is available for Node.js which is used when we want to log HTTP requests. It is mainly used in Express projects. Morgan helps us simplify the logging work of HTTP requests that come and sent from an application in a single statement. In normal situations, ... Read More

Best Command Line HTTP Client for Linux

Mukul Latiyan

Mukul Latiyan

Updated on 22-Jul-2022 08:47:56

2K+ Views

In this tutorial, we will explore some of the most commonly used and famous HTTP clients that are present in Linux. A HTTP Client is a software that is mainly used to allow us to download files from the Internet. The primary reason for using HTTP clients is generally to ... Read More

How to Find Out File Types in Linux

Mukul Latiyan

Mukul Latiyan

Updated on 19-Jul-2022 15:03:50

3K+ Views

When it comes to Linux operating system, everything in general can be considered as a file. In UNIX, in total, there are seven standard file types −FIFO specialBlock specialCharacter specialSocketRegularDirectorySymbolic linkWhen it comes to Files, these can be mainly categorized into the following categories −Regular FilesDirectory FilesSpecial FilesThe simplest way ... Read More

How to Repeat Your Last Command in Linux?

Mukul Latiyan

Mukul Latiyan

Updated on 19-Jul-2022 12:41:58

6K+ Views

Linux terminal allows us to execute a variety of commands and sometimes it so happens that we find ourselves in a scenario where we might want to use a certain command more than once. There are many occurrences where we would want to repeat the command that we just ran. ... Read More

How to Run a Command Multiple Times in Linux?

Mukul Latiyan

Mukul Latiyan

Updated on 19-Jul-2022 10:17:00

8K+ Views

There are scenarios where you would want to run a particular command for 'N' number of times. In normal programming, this can be done with the help of any of the loops constructs available in that programming language. In Linux bash too, we have loops available as some other ways ... Read More

Array Operations in Linux bash

Mukul Latiyan

Mukul Latiyan

Updated on 18-Jul-2022 06:19:48

560 Views

Bash scripts are one of the most convenient approaches when we talk about making the command line processes automated in nature. They help us in doing a group of things in a simpler and more understandable manner, and we can do almost all theoperations that we could do in other ... Read More

Advertisements