I am trying to replace matching string with other string. This is what I have
new_string="tsd.storage.hbase.zk_quorum = $ZKHOSTS"
I am completely new to sed script. I want to make a script so that it asks user to enter value to be inserted in file. I am not able to find the correct code
so the line I have in the text file looks ...
I'm using sed to modify a file. In simple terms, my modifier looks as so
sed -e '11s/$/ $LinuxUsername/'
This is suppose to add in their linux username at the end of line 11, however, it is instead ...