My dotfiles for my Linux rice managed with stow and make
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

8 lines
130 B

  1. #!/bin/bash
  2. device=wlp3s0
  3. ssid="$(iw dev $device info|grep -oP '(?<=ssid ).*')"
  4. if [ "$ssid" != "" ]; then
  5. echo "說 $ssid"
  6. fi