scripts

readinglist
authorKim Stanley Robinson
statusread
subjectsfiction

This is an old revision of the document!


Useful scripts

Originally developed for use at work, it's just as useful in other contexts, so I have reproduced it here.

sigstr.sh
#!/bin/bash
# need some means of selecting $device
sudo iw $device scan | 
        awk '/^BSS/ { print $2 }; /signal/ { print $2, $3, "\f" }' |
        sed 's/(on$//'
# each result will look like:
#   00:11:22:33:44:55
#   -72.00 dBm
# additionally, they will be separated by "\f" characters
  • scripts.1686787747.txt.gz
  • Last modified: 2023-06-15 00:09
  • by asdf