Latest Articles
Jun 25, 2017
If you are not already aware of "YUM" (Yellowdog Updater, Modified) is used for installing rpms. Yum allows automatic updates, package and dependency management, on RPM-based distributions. Ideally yum is
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
Jun 24, 2017
Before is the requirement for this example. I have a sample file with below content at /tmp/file This is line one This is line two This is line three This
Jun 24, 2017
There are many ways to do this, I will try to show some Sample file '/tmp/file' Apple Apricot Avocado Banana Bilberry Blackberry Blackcurrant **Method 1** Using 'nl' # nl /tmp/file
Jun 24, 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
Jun 24, 2017
#### How to append a string after a match? For eg I have a text line "**This is not test**" where I would like to insert "**really**" after matching "**is**"
Jun 24, 2017
#### Unable to connect to iCloud Server or iTunes from your laptop? I recently did an update of iTunes on my laptop after which I was unable to re-login to