Mukul Latiyan has Published 474 Articles

How to use a pipe with Linux find command?

Mukul Latiyan

Mukul Latiyan

Updated on 31-Jul-2021 11:58:30

2K+ Views

Linux find statement is one of the most widely used statements that allows us to walk a file hierarchy. It is used to mostly find a specific file or directories and we can also append different other Linux statements or flags along with it to enhance or do a complex ... Read More

How to unzip all zipped files in a Linux directory?

Mukul Latiyan

Mukul Latiyan

Updated on 31-Jul-2021 11:58:09

2K+ Views

Unzip is the Linux command utility that we will use to unzip all zipped files present in a Linux directory.By default, the unzip utility is not present on most of the Linux distributions and we can install the same with the help of the commands mentioned below.For Ubuntu and Debiansudo ... Read More

How to test a weekly crontab job on Linux?

Mukul Latiyan

Mukul Latiyan

Updated on 31-Jul-2021 11:57:46

1K+ Views

In order to test a crontab job we first need to explore and understand what a crontab job is.A crontab job is nothing but a list of commands that we can run during a cron job. A cron job is a utility that schedules automatic execution of commands at specific ... Read More

How to suppress a binary file matching results in grep on Linux?

Mukul Latiyan

Mukul Latiyan

Updated on 31-Jul-2021 11:57:23

652 Views

The grep command in Linux is used to filter searches in a file for a particular pattern of characters. It is one of the most used Linux utility commands to display the lines that contain the pattern that we are trying to search.Normally, the pattern that we are trying to ... Read More

How to substitute an environment variable using sed on Linux?

Mukul Latiyan

Mukul Latiyan

Updated on 31-Jul-2021 11:56:59

2K+ Views

An Environment variable is a dynamic-named value. Generally, these are variables are exported in a single terminal using a command shown belowexport $SOMEVARIABLE=valueor they are stored inside the bash files, so that they remain available in all the terminals once the file is sourced. If we want to change an ... Read More

How to sort a file in-place in Linux?

Mukul Latiyan

Mukul Latiyan

Updated on 31-Jul-2021 11:56:41

1K+ Views

In order to be able to sort the contents of a file in Linux, we must first be aware of the sort command that Linux provides us with.The sort command is mainly used to sort the contents of a file. It arranges the records in a particular manner. By default, ... Read More

How to simulate delayed and dropped packets on Linux?

Mukul Latiyan

Mukul Latiyan

Updated on 31-Jul-2021 11:56:01

517 Views

In order to simulate the packages that got delayed or dropped we can make use of the netem which provides us with a network emulation functionality that is helpful in testing protocols.The way netem works is that it tests the protocols by emulating the properties of wide area networks.There are ... Read More

How to show all shared libraries used by executables in Linux?

Mukul Latiyan

Mukul Latiyan

Updated on 31-Jul-2021 11:55:39

1K+ Views

We know that a shared library is a library that can be linked to any program at runtime. In order to view all the shared libraries used by an executable we make use of the Linux command utility known as ldd. We can easily locate the shared libraries on a ... Read More

How to set the GOPATH environment variable on Ubuntu?

Mukul Latiyan

Mukul Latiyan

Updated on 31-Jul-2021 11:55:07

8K+ Views

Before setting up GOPATH or GOROOT on the local environment of yours, we must check whether you have correctly installed Go or not.Just type the following command on any user of the machine, where you think you have installed Go −go versionIf it outputs nothing or something like go is ... Read More

How to set the environmental variable LD_LIBRARY_PATH in Linux?

Mukul Latiyan

Mukul Latiyan

Updated on 30-Jul-2021 09:18:06

6K+ Views

There are plenty of ways in which we can set an environment variable in Linux and then make use of it later. Some ways provide us access to that variable in a particular window, in other cases, we can get access to those variables in every terminal window and in ... Read More

Advertisements