Skip to content

Instantly share code, notes, and snippets.

@igniteflow
Created May 10, 2011 15:18
Show Gist options
  • Save igniteflow/964672 to your computer and use it in GitHub Desktop.
Save igniteflow/964672 to your computer and use it in GitHub Desktop.
Some useful bash commands
# replace all occurrences of day in file old with night, and write to file
# new. from http://www.grymoire.com/Unix/Sed.html#uh-0
sed s/day/night/ <old >new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment