Added alias pi-ip.

This commit is contained in:
Storm Dragon 2024-03-09 04:59:47 -05:00
parent 386cb3230e
commit 7fb1ba5283
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
# Raspberry Pi Information
alias pi-temp='/usr/bin/vcgencmd measure_temp'
alias pi-version='cat /sys/firmware/devicetree/base/model;echo'
alias pi-ip='ip a | grep -v "127.0.0.1" | grep -E -o "([0-9]{1,3}\.){3}[0-9]{1,3}/[0-9]{1,2}"'