Whichever of the methods you use to capture/view the output, you'll probably
want to change the 'grep emacs' part to 'grep [e]macs'.  If you don't do that,
then 'grep emacs'  will show up in ps's output--which you probably don't want.

e.g.:
   xterm -e sh -c 'ps -aux | grep [e]macs ; read a'

Regards,
Ben Logan

On Tue, 5 Sep 2000 12:55:36 -0500 (CDT), Thomas R. Shannon said:

> 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.
>  
>  Thanks in advance,
>  Tom
>  ======== 
>  Quote of the day for September 5th, 2000
>  Did you ever notice when you blow in a dog's face he gets mad at you? 
>  But when you take him in a car he sticks his head out the window.
>               - Steve Bluestone
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  _______________________________________________
>  Redhat-list mailing list
>  [EMAIL PROTECTED]
>  https://listman.redhat.com/mailman/listinfo/redhat-list
>  
>  



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

Reply via email to