get the password of connected wifi linux code example
Example: find saved wifi password in linux
sudo cat /etc/NetworkManager/system-connections/<WiFi_Network_Name>
sudo cat /etc/NetworkManager/system-connections/<WiFi_Network_Name>