Network

Commands

  • Edit configuration file for hostname: vi /etc/hostname
  • Set hostname: hostnamectl --static set-hostname <hostname>
  • Display routes: ip route
  • Install NetworkManager: yum install NetworkManager-tui
  • List interfaces: nmcli dev status
  • Edit a interface: nmtui-edit edit ens192
  • Activate a interface: nmtui connect ens192