iiitl / bash-practice-repo-24

0 stars 35 forks source link

Added script for wifi-ssid #149

Closed gauravghodinde closed 5 months ago

gauravghodinde commented 5 months ago

fixes #1 111111111111

rootCircle commented 5 months ago

hi @gauravghodinde! your implementation doesn't work! please check it asap!

image

rootCircle commented 5 months ago

@gauravghodinde are you working on this? Possibly closing this in 1 hr due to inactivity.

gauravghodinde commented 5 months ago

yes im working on it

gauravghodinde commented 5 months ago

@rootCircle i tried this approach but its showing an error if [ -z "$ssid" ]; then echo "Not connected to any Wi-Fi network." else echo "Connected Wi-Fi network SSID: $ssid" fi

wifi-ssid: line 13: syntax error near unexpected tokenfi' wifi-ssid: line 13: fi'

gauravghodinde commented 5 months ago

@rootCircle fixed the error and here is the screenshot of the working output image

rootCircle commented 5 months ago

LGTM :+1: Accepted