Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code for extracting the wifi username #71

Closed
wants to merge 1 commit into from

Conversation

shuklamaneesh23
Copy link

Solved the issue #1

This pull request addresses an issue to output the Wi-Fi SSID correctly.

###Code Implemented:

  • Used the command sequence to extract the SSID from the iw dev wlan0 link command output accurately.
  • Utilized awk to extract the SSID field directly from the command output, improving simplicity and reliability.
  • Added error handling to gracefully handle scenarios where the Wi-Fi SSID is not available or the iw command fails.

@rootCircle
Copy link
Member

rootCircle commented Mar 16, 2024

LGTM 👍 Accepted!

Please bring in the habit of using branch name as relevant names only, not any arbitrary names for good!

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

Successfully merging this pull request may close these issues.

2 participants