Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Are there software that enables you to search files or string inside your sourcecode that's on the server?

The text editor I am currently using is Coda by Panic and the server I am using is Amazon EC2. I wanted to search a "string" inside a file and I also wanted to search a certain file (eg style.css).

Any ideas how can I achieve this?

share|improve this question
up vote 1 down vote accepted

You can simply use grep from terminal with -r recursive option.

$ grep -r "string" /folderToSearch/

Or search a single file

$ grep "string" /folder/filename.ext
share|improve this answer
Thanks man! this worked for me and this will be very handy! really appreciate it. – Pennf0lio Jan 28 '12 at 20:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .