vim
- Press
Ctrl-v
to select the first column of text in the lines you want to change (visual mode). - Press
Shift-i
and type the text you want to insert. - Hit
Esc
, wait 1 second and the inserted text will appear on every line.
sed
$ sed -i 's/^/buku -u /' filename