[NTLUG:Discuss] Asking for a (shell) command

Fred James fredjame at concentric.net
Mon Jun 25 12:01:19 CDT 2001


Are you talking about "script"?
 - "make a typescript of a terminal session."

m m wrote:
> 
> Hi All:
> I remember there is a command that record the keyin command and outpot into
> a specified file. If any knows, please help. Thanks.
> the following is an example:
> 
> >the_command    <--- the command I am asking
> >file name?  test.txt
> ... begin...
> >ftp 1.1.1.1     <--- start recording
> connect to ...
> ftp>login: mmm
> ftp> passwd: ***
> 200 OK
> 400 ...
> Quit
> >
> >a.out
> 111111
> 11111
> 22222
> 22222
> >
> >end (or exit)   <--- exit the command
> the test.txt will look like this:
> 
> ... begin...
> >ftp 1.1.1.1     <--- start recording
> connect to ...
> ftp>login: mmm
> ftp> passwd: ***
> 200 OK
> 400 ...
> Quit
> >
> >a.out
> 111111
> 11111
> 22222
> 22222
> >
> ...end....
> 
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> 
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss

-- 
...small is beautiful...



More information about the Discuss mailing list