Search for text within a file?

Discussion in 'iMac' started by keltoid, Jan 1, 2009.

  1. keltoid macrumors newbie

    Jul 18, 2008
    How do you search for a text string WITHIN a file on the IMac?
  2. firestarter macrumors 603


    Dec 31, 2002
    Green and pleasant land
    More details required... what are you trying to do?

    Most apps have a 'find' - open the doc in texedit/whatever and hit cmd-F

    Spotlight also indexes text in documents. cmd-space, then type the text you're looking for.

    If you want to do something a lot more advanced, I'd be thinking about using 'grep' on the command line.

Share This Page