Skip to content

Instantly share code, notes, and snippets.

@otnansirk
Last active April 28, 2025 02:50
Show Gist options
  • Save otnansirk/7c436709b9c40380134cbc81f0e6aba3 to your computer and use it in GitHub Desktop.
Save otnansirk/7c436709b9c40380134cbc81f0e6aba3 to your computer and use it in GitHub Desktop.
Get list wifi history in ubuntu
  1. sudo cat /etc/NetworkManager/system-connections/*
  2. See on value psk=YOUR_WIFI_PASSWORD

or you can use grep for filter

  1. sudo cat /etc/NetworkManager/system-connections/* | grep -i -A 10 "YOUR_WIFI_SSID_NAME"

-i for incase-sensitive -A 10 for show 10 line after found text

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment