Skip to main content

Linux command: sed

Linux command: sed - stream editor

sed - stream editor for filtering and transforming text

Notes: sed and grep operate line-by-line

Search and replace all my_ with his_ in file.txt file

$ sed -i 's/my_/his_/g' file.txt

Search and delete blank line

$ sed -i 's/^$//' file.txt

Popular posts from this blog

DrayTek VigorAP 910C as Universal Repeater

3 steps to extend wi-fi coverage using DrayTek VigorAP 910C Set Operation Mode to Universal Repeater mode VigorAP 910C: Set Operation Mode Configuration to Universal Repeater Connect DrayTek VigorAP 910C to existing Wi-Fi Access Point Connect DrayTek VigorAP 910C to existing Wi-Fi Access Point Set Security Mode & Pass Phrase for DrayTek VigorAP 910C Set Security Mode & Pass Phrase for DrayTek VigorAP 910C Check Online Status

Google Credential Provider for Windows: Notes

Google Credential Provider for Windows® (GCPW) lets users sign in to Windows® devices with the Google Account they use for work. GCPW provides users with a single sign-on experience to Google services and all the security features available with their Google Account.