skip to main | skip to sidebar

Tek Zappeln

zappeln : German verb meaning 'to thrash or flounder'

Tuesday, February 24, 2009

Linux Search


For example, to find "search_string" in all ruby files in your project:

   find . -iname *.rb -exec grep -l search_string {} \;

Anyone know of an easier way to do this?

Posted by Mike at 2/24/2009 09:19:00 AM

0 comments:

Post a Comment

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

Blog Archive

  • ►  2011 (2)
    • ►  April (2)
      • Data, Context, and Interaction (DCI) Architecture
      • Resolution
  • ▼  2009 (19)
    • ►  June (3)
      • Tracking value changes in ActiveRecord objects
      • Rails Time Zone Support
      • Ext JS with Rails
    • ►  May (2)
      • More on Saving Dates to Oracle
      • Saving Dates to Oracle with JRuby / Rails
    • ►  April (1)
      • Rails 2 Functional Tests with HTTP Basic Authentic...
    • ►  March (2)
      • Warbler deployment to development environment
      • Multiple Gem Repositories
    • ▼  February (3)
      • HowToUseMultipleGemRepositories -- Rescued!
      • Linux Search
      • Jruby Ubuntu TimeZone Problem
    • ►  January (8)
      • Vim Settings for Ruby
      • Rails on Ubuntu Intrepid Ibex
      • Ubuntu Package List: Available vs. Installed
      • Ruby Gem Repository Setup
      • MD5 Checksums (Ubuntu)
      • Building Ruby
      • Git References
      • Synergy: One keyboard to rule them all...
  • ►  2008 (1)
    • ►  December (1)
      • Technical Floundering

Mike Dietz

My Photo
View my complete profile