[CS-FSLUG] SHELP!!!
K. Luckenbaugh
kluck at gdrs.com
Mon Aug 2 09:53:19 CDT 2004
Brian Derr wrote:
>On Thu, Jul 22, 2004 at 12:20:37PM -0700, K. Luckenbaugh wrote:
>
>
>>The ";" doesn't work within my xterm (as per the script)
>>
>>konsole -e sudo /sbin/ifdown eth0; /sbin/ifup eth0& it goes down, but
>>not up.
>>
>>
>
>I just did some reading in the bash man page last night and think I may
>have a solution. Issue the commands inside of a set of {}.
>
> konsole -e { sudo /sbin/ifdown eth0 && sudo /sbin/ifup eth0; }
>
>My question for you is, why use an xterm? Especially since all you're
>using it for is to ifdown/ifup...
>
>
>
The xterm (actually the whole thing) is reassurance for some of our
newbies to be sure of what they are doing . We network robots with
different IP's and a script like that seems to help them get their jobs
done faster.
-Kelly
>If my above guess doesn't help I have a few other ideas to try.
>However, I'm going to be gone this weekend camping in New Hampshire.
>
>Have a good weekend folks,
>Brian
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>ChristianSource FSLUG mailing list
>Christiansource at ofb.biz
>http://cs.uninetsolutions.com
>
More information about the Christiansource
mailing list