I don't know if the grep that comes with HP-UX has this functionality... probably not!$ ssh foo@server /usr/local/bin/grep -C 100 "the string you are lookin +g for" /var/log/whatever
In reply to Re: SSH to Unix and search files for string
by salva
in thread SSH to Unix and search files for string
by stan131
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |