Skip to content

the reality tunnel

  • Work
  • About

Linux cheatsheet

Search and Replace in Multiple Files

perl -pi -w -e 's/search/replace/g;' *.php</code></pre>

Source: How to do a search and replace over multiple files

Compare two strings (when one of them is a subprocess)

 diff <(md5 -q ~/Downloads/ubuntu-16.04.1-desktop-amd64.iso) <(echo "17643c29e3c4609818f26becf76d29a3")

Source: Process Substitution

Published March 11, 2008By Geoffrey Hing
Categorized as Uncategorized Tagged cheatsheet, linux, perl, Recipes, replace, search

Post navigation

Previous post

good luck @ battle of the bands (bluebird). 10p. $3. 21+

Next post

disabling tap-to-click on synaptic touchpad in ubuntu

Categories

  • address
  • Bloomington
  • Boxcar
  • chicago
  • Chicago DIY
  • Civics
  • Code
  • Defiance Ohio
  • Disaster
  • Fun-a-Day 2012
  • gender
  • hacks
  • Healthy Indiana Plan
  • Hinged
  • Hoops
  • Ideas
  • journalism
  • Lets Go
  • Lists
  • Maps of My Life
  • media queue
  • Medill Community Media Innovation Project
  • Music
  • note to self
  • Pages to Prisoners
  • People
  • Performances
  • Photos
  • podcasts
  • Prison Industrial Complex
  • Projects
  • Recipes
  • Reporting
  • Reporting Across Boundaries
  • Spaces
  • Talks
  • technology
  • Uncategorized
  • VideoLog
  • Work

Tags

47401 activism art asian Bloomington Boxcar chicago class community culture defianceohio development Disaster diy django drupal education election food gender healthcare HIP immigration indiana jail linux media music pages politics prisons programming punk python race radio Recipes recipes show sweethickory technology travel tweetit violence youth

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
the reality tunnel
Proudly powered by WordPress.