sed -i 's/match/replacement/g' file -> writes on file
sed -i.bak -> writes and backups original file

Leave a Reply

You must be logged in to post a comment.