[CS-FSLUG] SHELP!!!
Tim Young
Tim.Young at LightSys.org
Thu Jul 22 09:27:00 CDT 2004
You need to have the script enclosed in quotes.
konsole -e sudo "/sbin/ifdown eth0; /sbin/ifup eth0"&
That turns the whole quoted line into one command.
- Tim
K. Luckenbaugh wrote:
> Tim Young wrote:
>
>> You want a semicolon at the end of each section.
>>
>> ifdown eth0; ifup eth0
>>
>> - Tim
>
>
> 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.
>
>>
>> Stephen J. McCracken wrote:
>>
>>>> What is the syntax for multiple commands (ie. ifdown, then ifup).
>>>
>>>
>>>
>>>
>>> Have you tried sending the commands all at once? (e.g. ifdown && sleep
>>> 5 && ifup)
>>>
>>>
>>> _______________________________________________
>>> ChristianSource FSLUG mailing list
>>> Christiansource at ofb.biz
>>> http://cs.uninetsolutions.com
>>>
>>>
>>
>> _______________________________________________
>> ChristianSource FSLUG mailing list
>> Christiansource at ofb.biz
>> http://cs.uninetsolutions.com
>>
>
>
> _______________________________________________
> ChristianSource FSLUG mailing list
> Christiansource at ofb.biz
> http://cs.uninetsolutions.com
>
>
More information about the Christiansource
mailing list