vim
- Press
Ctrl-vto select the first column of text in the lines you want to change (visual mode). - Press
Shift-iand 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