- List item
how to add some string at the end of the line in a file : But also before 3 charcters .
I tried but ended up by appending at the last of the string .can anyone help me pls
line6 :rules(‘test’, ‘.*’, [abc,bcd]).
i tried using
sed -i ‘/rules/ s/$/ ***/’ file1.txt
But preffered o/p:
Go to Source