Forum Discussion
4 Replies
Sort By
- Ajmal_2608NimbostratusBeing a linux kernel based system,this will restart the network services i.e. all the network interfaces
- What_Lies_Bene1CirrostratusThanks Ajmal. So, if I wanted to reset just the management interface I guess something like 'ifdown eth0 && ifup eth0" would be better.
- Ajmal_2608NimbostratusPosted By What Lies Beneath on 06/03/2013 03:12 AM
FYI... There are 2 options to run these command in a single line:
- && - ifdown eth0 && ifup eth0 (This will run the 2nd command only if the output of 1st is "True"
- Semicolon - ifdown eth0 ; ifup eth0 (This will run the 2nd command irrespective of the output of 1st command
- What_Lies_Bene1CirrostratusThanks. && is clearly safer.