From 10d911f885f6a4b293bf19cdb9b749d57ef4a5e7 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Sun, 19 Nov 2023 18:57:40 +0530 Subject: [PATCH] use "&&" between nmcli con down and con up to not get stuck lol --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 8b68a72..c8d5c46 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,5 @@ sudo nmcli con modify 'Wired connection 1' \ ipv4.addresses 10.0.0.170/24 \ gw4 10.0.0.1 \ ipv4.dns 1.1.1.1 -sudo nmcli con down 'Wired connection 1' -sudo nmcli con up 'Wired connection 1' +sudo nmcli con down 'Wired connection 1' && sudo nmcli con up 'Wired connection 1' ```