I'm trying to figure out if I want to use nmcli or nmtui (which seems a lot easier to me) for configurating network interfaces.
Was watching CompTIA Linux+ (XK0-004) - Configure Networking episode, at around 25:28 minutes in, and Don was explaining the usage of "nmcli connection edit" and how it drops you into a prompt. Don issues a command like "nmcli set connection.autoconnect yes". My question is, how does he know to use "connection.autoconnect" as an argument for "set"? I don't see it referenced in the help while inside of nmcli prompt.
Does one just have to know what properties to use while inside of nmcli prompt or is there a way to find out?
Also, a separate question, what is the difference between a network device and network connection as far as nmcli/NetworkManager is concerned?