Jul 22, 2018
There can be multiple scenarios due to which ssh connection may fail, some of them can be [](man-working-late.webp) * network issues * password incorrect * passphrase incorrect * and many
Jun 28, 2018
In my last article I had shared some samples script examples [to compare decimal values and floating numbers by converting them into integer]({{< relref "how-to-compare-floating-point-decimal/index.md" >}}) which can work well for some scenarios
Dec 17, 2017
In my last articles I had shared the arguments with sed which can be used to [perform case insensitive actions (search, replace..) in a file]({{< relref "sed-case-insensitive-actions-search/index.md" >}}) and to [delete all blank
Sep 12, 2017
By default when we perform search and replace action using sed, that is done globally within a file. Although if you have a line number you can perform the replace
Sep 11, 2017
In this article I will show you different ways to perform an action (as per your requirement) ignoring the case of the letters to be searched in a file Below
Sep 10, 2017
In this article I will show you various sed expressions which can be used and combined to print or delete specific line from a file IMPORTANT NOTE: My examples provided
Jun 25, 2017
Here our requirement is to remove all the whitespace from the leading and ending space per line of a file. Our sample file /tmp/file This is line one This is
Jun 25, 2017
In my last articles I had shown you the arguments to be used with sed to add or append any character in the beginning or end of the line and
Jun 25, 2017
Here our requirement is that we have a file where we have to perform a string replacement **but based on line number.** Below is our sample data /tmp/file 1 This
Jun 25, 2017
Here our requirement is to replace a line with our content when a match is found with in the file Our sample file /tmp/file This is line one This is