Addition to Find & Scan Wireless Networks the additional line will require a password but then display the stored password for the defined router name.
# List all Wi-Fi /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s # Get Stored Password To Wi-Fi security find-generic-password -ga "Router_Name" | grep "password:"
Last Updated on February 25, 2023