Quick sed cheat sheet.

Examples

  • replace every x with y
    • sed -i 's/x/y/g' file
Last modified 2024.06.14