Re: grep being cropped (General questions)
Hi,
I have tried using the send command and waitfor; however, I still dont seem to get the desired result. Example... If I were using putty I would do this.
[code]
$ uname -a
SunOS 5.8 blah blah blah
$
[/code]
What I want is the output from the command entered first, i.e. 'SunOS blah blah blah'. If I do this:
[code]
ssh.Send( uname -a & vbcrLf)
ssh.WaitFor( $ )
tmpString = ssh.Receive()
[/code]
The tmpstring ends up being just a $. How do I get the output from the command?
Thanks, Mike (Sorry if I am being really dum!)
Complete thread:
- grep being cropped - mike_mort, 2008-08-02, 13:23
- Re: grep being cropped - wodDamir, 2008-08-02, 15:17
- Re: grep being cropped - mike_mort, 2008-08-02, 16:11
- Re: grep being cropped - wodDamir, 2008-08-02, 16:13
- Re: grep being cropped - mike_mort, 2008-08-02, 16:11
- Re: grep being cropped - wodDamir, 2008-08-02, 15:17