1. 终端cd到/etc/NetworkManager/system-connections 2. ls查看所有连接过的wifi 3.sudo cat wifi名称 在[wifi-security]字段的psk即为密码