You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
icon=""
|
|
|
|
iface="enp4s0"
|
|
|
|
|
|
|
|
IPADDR="$(ip a show dev $iface | awk '/inet / { print $2 } ')"
|
|
|
|
|
|
|
|
printf " %s %s [%s] \n" "$icon" "$iface" "$IPADDR"
|
|
|
|
#echo "tx $iface: $TKBPS kB/s rx $iface: $RKBPS kB/s"
|