Skip to content

Commit

Permalink
added ip script
Browse files Browse the repository at this point in the history
  • Loading branch information
jmwohl committed Jun 7, 2014
1 parent 9026bea commit 5838d33
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions print_ips.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

ip addr show wlan0 | grep -Eo "[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}" |

while read x; do
echo $x;
done

0 comments on commit 5838d33

Please sign in to comment.