Site Geisha by Fujiko Fujio

About Me

My photo
Fujiko Fujio
View my complete profile
  • Forum
  • Galleria
  • CSV Project
  • Asian Model Directory
  • Gallery Tags
  • Gallery Stats
  • Random Galleries
  • Search Galleries

Favorite Sites

  • 0ptical.net
  • Asian Usenet
  • Asianthetic
  • Binsearch
  • Ijsklontje.nl
  • JAVtalk
  • PureTNA
  • Soft-Best
  • Sweat Pig

Blog Archive

  • ►  2009 (3)
    • ►  May (1)
    • ►  April (2)
  • ▼  2008 (40)
    • ►  December (3)
    • ►  November (2)
    • ►  October (3)
    • ►  September (8)
    • ►  August (4)
    • ►  July (7)
    • ►  June (2)
    • ▼  May (2)
      • DD-WRT v24 released
      • Useful find and replace stuff
    • ►  April (4)
    • ►  March (2)
    • ►  January (3)
  • ►  2007 (33)
    • ►  December (1)
    • ►  November (1)
    • ►  October (6)
    • ►  September (8)
    • ►  August (2)
    • ►  May (1)
    • ►  April (2)
    • ►  March (3)
    • ►  February (9)

Sunday, May 4, 2008

Useful find and replace stuff


Find files containing text:



grep -i -n 'foo' *

Find files containing text and replace them with something else:



sed -i 's/foo/bar/g' *

Posted by Fujiko Fujio at 6:46 AM
Labels: command line, Linux, sed, ubuntu, useful stuff

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)