Skip to content

Instantly share code, notes, and snippets.

@luispabon
Created September 14, 2023 09:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luispabon/da305c1f1afcb56d410ae9bbd8ac5679 to your computer and use it in GitHub Desktop.
Save luispabon/da305c1f1afcb56d410ae9bbd8ac5679 to your computer and use it in GitHub Desktop.
NetworkManager command line wifi rescan
#!/bin/bash
echo -e "Re-scanning wifi...\n"
nmcli dev wifi rescan
nmcli dev wifi list
echo -e "\nScan finished."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment