I need to add a word before the line starts, but I want to do that for every line which the text has.
If I have
sample/text/ and I want to add
data/sample/txt, how can I do that?
I have tried sed
i command in several ways but none of it works.