[Level 2] Scan wifi channel in Ubuntu.

#!/bin/bash
iwlist wlan0 scanning | grep Channel: | grep -v grep | cut -d: -f2 | sort

Wish this helps.

regards,
Stanley Huang

Comments

Popular posts from this blog

[Level 2] Shell Interactive With Zenity Episode 5 -- list

[Level 2] iif in Python