you can just type ls /etc/NetworkManager/system-connections/
and it will show the name of your network, so just press the up arrow on keyboard and type the name of your connections and change ls to sudo cat