Lindsey Kuper (lindseykuper) wrote,
Lindsey Kuper
lindseykuper

Things You Should Have Learned in School (Had You Been Paying Attention)

The bash ^string1^string2 "quick substitution" only replaces the first occurrence of string1. To replace all of 'em, try !!:gs/string1/string2.

Something I learned today, the "FUCK! SHIT!" way.

Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 3 comments