I want to grep for a string. I want to find all instances of a string and be able to see a listing of were it lives / name of the file. I can get that with grep "facebook" * and that works well.

The problem is I only have sftp access. I just learned you can use lftp. I have tried that but grep didn't work. Any other solutions?

link|improve this question
1  
You could try using SSHFS to make the remote files appear locally mounted. – Greg Hewgill Aug 17 '11 at 20:38
feedback

migrated from stackoverflow.com Aug 23 '11 at 1:46

This question came from our site for professional and enthusiast programmers.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown