sed -i "s/Durukan/DurukanBal" '/root/test.test'
sed -i 's|http://www.durukanbal.com/|https://www.durukanbal.com/|g' index.html
sed -i 's|^duru$|DurukanBal|g' test.txt
sed -i 's|DurukanDal$|DurukanBal|g' test.txt


cat test.txt
8.34.217.13 cds.rhel.updates.googlecloud.com
10.128.0.2 instance-1.c.testenvio1.internal instance-1 **want to add string here** # Added by Google
169.254.169.254 metadata.google.internal  # Added by Google

sed -Ei -- 's/([[:blank:]]+instance-1[[:blank:]]+)(#.*)$/\1 193.53.245.139 durukanbal.com \2/' /root/test.txt

cat test.txt
hello
bye

sed -r 's/(^|$)/"/g' test.txt
"hello"
"bye"

sed -e 's/^/"/' -e 's/$/"/' test.txt
"hello"
"bye"
Categories: Bash language

161 Comments

Temp mail · 08/01/2024 at 07:10

I enjoyed it just as much as you will be able to accomplish here. You should be apprehensive about providing the following, but the sketch is lovely and the writing is stylish; yet, you should definitely return back as you will be doing this walk so frequently.

Puravive · 14/01/2024 at 01:08

Hi Neat post Theres an issue together with your web site in internet explorer may test this IE still is the marketplace chief and a good component of people will pass over your fantastic writing due to this problem

onemli liderlik özellikleri · 17/01/2024 at 06:15

He looked behind the door and didn’t like what he saw. -Elsie Robles

Temp Email · 22/01/2024 at 04:01

I have been browsing online more than three hours today yet I never found any interesting article like yours It is pretty worth enough for me In my view if all website owners and bloggers made good content as you did the internet will be a lot more useful than ever before

Leave a Reply

Avatar placeholder