networkctl
Query the status of network links. tldr-pages
On Linux
Linux
Query the status of network links. Manage the network configuration using systemd-networkd.
List existing links with their status
networkctlIdentifyShow an overall network status
networkctl statusIdentifyBring network devices up
sudo networkctl up interface1 interface2 ...IdentifyBring network devices down
sudo networkctl down interface1 interface2 ...IdentifyRenew dynamic configurations (e.g. IP addresses received from a DHCP server)
sudo networkctl renew interface1 interface2 ...IdentifyReload configuration files (.netdev and .network)
sudo networkctl reloadIdentifyReconfigure network interfaces (if you edited the config, you need to call networkctl reload first)
sudo networkctl reconfigure interface1 interface2 ...Identify