====== Alma Linux Networking On Off Command ====== Jan 2024 \\ \\ ---- ===== Introduction ===== Bringing the network UP and DOWN (or ON and OFF) in Alma Linux 8 is different from what we were used to in CentOS (7.x). The Network Scripts were deprecated in Red Hat 8 (So Alma Linux 8 and CentOS 8). \\ \\ ==== Set Network OFF ==== To set the network OFF Alma Linux 8 you need to use the following: (Bear in mind, all interfaces will go down, so if you are remote, best not to do this). \\ sudo nmcli networking off \\ ==== Set Network ON ==== To set the network ON Alma Linux 8 you need to use the following: \\ sudo nmcli networking on \\ \\