How to use chmod recursively on Linux?

Mukul Latiyan
Published on 31-Jul-2021 11:55:53
You might have been in a scenario where you are using a Linux as your main operating system and then you try to create or edit a file and the Linux terminal responds with something like “Permission deny” error. In typical sense, such an error is related to insufficient permissions ... Read More

How to use a pipe with Linux find command?

Mukul Latiyan
Published on 31-Jul-2021 11:55:32
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
Published on 31-Jul-2021 11:55:13
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
Published on 31-Jul-2021 11:54:11
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
Published on 31-Jul-2021 11:53:23
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
Published on 31-Jul-2021 11:49:57
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
Published on 31-Jul-2021 11:49:36
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
Published on 31-Jul-2021 11:49:12
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
Published on 31-Jul-2021 11:48:46
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
Published on 31-Jul-2021 11:48:18
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
Previous 1 ... 4 5 6 7 8 9 10 ... 5382 Next
Advertisements