Skip to content

Instantly share code, notes, and snippets.

@saveologypaul
Created August 30, 2012 20:57
Show Gist options
  • Save saveologypaul/3540773 to your computer and use it in GitHub Desktop.
Save saveologypaul/3540773 to your computer and use it in GitHub Desktop.
Command Line Replace - Josh and Paul
! = bash history
-2 = back two commands
:gs = global substitute
:s = single substitute first only
:p = preview
!-2:gs/orgword/newword/:p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment