![](https://seccdn.libravatar.org/avatar/022d8940171e25a8319053be27a247b9.jpg?s=120&d=mm&r=g)
I thought you meant macro expansion, so, to take a different example, let's assume netscape is the application (usually placed in /opt/netscape/netscape, not usually on the $PATH). Am I to assume that you meant type: ssh -X root@localhost $(which netscape) because the macro expansion fails, and you end up with a defaulted ssh session as the root user, hash prompt and all. ssh -X root@localhost /opt/netscape/netscape will, of course, work every time, however, and has the additional advantage that it can be included in that fashion in any shell-script, or as a short-cut on the desk-top etc.etc. Andrew -- Email: aray@computerpark.co.uk --------------------------------------------------------- This private and confidential e-mail has been sent to you by Computer Park Ltd. If you are not the intended recipient of this e-mail and have received it in error, please notify us via the email address or telephone number below, and then delete it from your mailbox. Email: mailbox@computerpark.co.uk Tel: +44 (0) 1536 417155 Fax: +44 (0) 1536 417566 Head Office: Computer Park Ltd, Broughton Grange, Headlands, Kettering Northamptonshire NN15 6XA Registered in England: 3022961. Registered Office: 6 North Street, Oundle, Peterborough PE8 4AL =========================================================