Replace line X with String Y using sed

sed -i "294s/hamham/miaumiau/" file.txt

http://www.mydatabasesupport.com/forums/shell/270141-replace-line-x-string-y-using-sed-awk.html

Author: WladyX on 11 November, 2008
Category: General, Scripts

Leave a Reply

Last articles