check if my connection is wpa2 ubuntu code example Example: check if my connection is wpa2 ubuntu $> nmcli device wifi list