Skip to content

Instantly share code, notes, and snippets.

@homelinen
Created February 27, 2013 16:12
Show Gist options
  • Save homelinen/5049111 to your computer and use it in GitHub Desktop.
Save homelinen/5049111 to your computer and use it in GitHub Desktop.
Simple bash script to get wireless information from wicd.
#!/bin/bash
#
# Possible Implementation for testing the wireless signal
# Outputs:
# {essid} {quality}
wicd-cli --wireless -d | grep -P -i "essid|quality" | cut -d " " -f 2 | awk '!/0$/{printf "%s ",$0}/0$/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment