Linux: How to ifdown in a remote server

6 million dollar question… want to ifdown/ifup but don’t have physical access to your server? you can ifdown and ifup in one command:
ifdown eth0 && ifup eth0

That’s how you combine more than one command in one line!

CC0 1.0 To the extent possible under law, the creator has waived all copyright and related or neighboring rights to this work.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.