Linux – Replace text in file 8 January 20128 December 2014 SheldonNo Comments $> sed -i ‘s/old-word/new-word/g’ file Share this:LinkedInFacebookWhatsAppPinterestEmailPrintTumblrRedditPocketMastodonTelegramXNextdoor