GoLinuxHub
Home Linux VMWare DevOps Programming Contact

Programming

sed: match string and append new line (before or after)

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

sed: Insert character in the beginning or end of line with matched pattern

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

sed: insert word or text after match in middle of the line (search and append a string before or after match)

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**"

How to run any script or cron job in Linux for every second

Jun 19, 2014

There was this one time when I ran into the situation when my /tmp partition was getting full at 100% and I got an threshold alert but again when I

Script to take backup of any critical directory in Unix/Linux

Mar 1, 2014

This is a script which can be used to backup of your home directory on a day basis where a compressed backup of your home directory **/home** will be saved

← Prev Last »

© 2026 GoLinuxHub. All rights reserved.

About Contact Privacy Policy Disclaimer