Add line to the top of files with sed


One-liner to add line at the beginning of the file(s).

find mirrors-* -exec sed -i 1i'http://webmel53.vsb.cz/hrb33/el$releasever/hrb/stable/$basearch/' {} \\;
sed