Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [ -e ~/.sidd ]; then
- /sbin/iwconfig wlan0 | /sbin/iwconfig wlan0 | grep ESSID |cut -c 31-43 > .sidd
- else
- touch ~/.sidd
- /sbin/iwconfig wlan0 | /sbin/iwconfig wlan0 | grep ESSID |cut -c 31-43 > .sidd
- fi
- if [ "$(cat .sidd)" = "" ]; then
- echo "Nicht verbundeno!"
- else
- cat .sidd | sed 's/ID:"//'
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement