On Tue, Sep 05, 2000 at 12:55:36PM -0500, 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.

If you mean what I think, you want:

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

The sleep is to delay the xterm closing, which it will normally do when
the command is done (which is how they close when you say "exit" to a
shell). Obviously any variant on "sleep 60" will do fine as well.

Cheers,
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

Television is an invention that permits you to be entertained in your living
room by people you wouldn't have in your home.  - David Frost



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

Reply via email to