On Sat, 16 Sep 2000, kf wrote:

> 
> On Tue, 5 Sep 2000, Thomas R. Shannon wrote:
> 
> = I've looked through the man page and I just can't find how to do this.
> = I'd like to start a command in a new terminal, let's say for instance:
> = 
> = xterm -e ps aux | grep emacs
> = 
> = and then leave the terminal open so that I can view the results of the
> = command and any error messages.
> = 
> 
> Put an ambersand at the end of the command, i.e.,
> 
> xterm -e ps aux | grep emacs &
> 

The following is probably what we're looking for:

   xterm -e sh -c 'ps aux | grep emacs; read'


-- 
John Darrah (u05192)    | Dept: N/C Programming
Giddens Industries      | Ph: (425) 353-0405 #229
PO box 3190             | Ph: (206) 767-4212 #229
Everett  WA    98203    | Fx: (206) 764-9639



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to