Re: puTTy help
- From: "fnibogey" <finbogey@xxxxxxxx>
- Date: 25 Oct 2006 09:24:51 -0700
Todd H. wrote:
"fnibogey" <finbogey@xxxxxxxx> writes:
Please help a total noob. I'm using puTty to access a linux server. I
grep strings from compressed directories. I would then like to be able
to search those results on my puTTy screen. Is this possible?
Yes, but it's neither an ssh or putty question really. It's more of a
unix shell question. But try this:
$ strings bigdirectoryiwannagrep/* | grep myfavoritegrepstring | less
Space bar pages down, b takes you back a screen in less anyway,
capital G to get to the end, capital P to get back to teh beginning.
If less isn't available as a pager on that system, try
$ strings bigdirtory/* | grep blah | more
More more info:
$ man less
$ man more
Best Regards,
--
Todd H.
http://www.toddh.net/
Thanks Todd, I'll try these.
So I take it there is no way to actually search these results of a grep
short of outputting it to a text file and searching that?
The guy next to me uses a Mac and his terminal program lets him search
the screen. It would save a few steps.
Grant
.
- Follow-Ups:
- Re: puTTy help
- From: Todd H.
- Re: puTTy help
- References:
- puTTy help
- From: fnibogey
- Re: puTTy help
- From: Todd H.
- puTTy help
- Prev by Date: Re: Hacker on my system ?
- Next by Date: Re: puTTy help
- Previous by thread: Re: puTTy help
- Next by thread: Re: puTTy help
- Index(es):
Relevant Pages
|