Created
May 10, 2011 15:18
-
-
Save igniteflow/964672 to your computer and use it in GitHub Desktop.
Some useful bash commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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