At 08:22 PM 9/10/2001 +0000, you wrote:
Why not try;
xterm -fg black -bg white -e /bin/bash -c ` /usr/bin/sudo /sbin/ifconfig |grep "inet addr" &
Well I have discovered that the way to keep the window open is to give xterm the -hold switch, unfortunately the script isn't working correctly, because I"m getting the whole output of ifconfig, not just the grep. I have found that the bash -c doesn't seem to make any difference, BTY. xterm -fg black -bg white -hold -e /usr/bin/sudo /sbin/ifconfig |grep "inet addr" Is the current incarnation. Those who cannot remember the past
are condemned to repeat it. ---- George Santayana ------------ ========================================
---------------------------------------------------- Jonathan Wilson System Administrator Cedar Creek Software http://www.cedarcreeksoftware.com Central Texas IT http://www.centraltexasit.com