nmcli con up 'MyNetwork'

Category: Networking

nmcli con up 'MyNetwork'

Activate a NetworkManager connection by name

Activates a saved connection profile. Useful for scripting network changes or switching between network profiles (e.g., home vs. office VPN) without a GUI.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.