New Script: functions.sh

This commit is contained in:
glitchd 2019-09-14 06:57:37 -05:00
parent d3120fcf19
commit e5c65136c4

16
functions.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
fuck(){
echo "fuck you"
echo ""
}
ipp(){
echo Public IP
curl -s icanhazip.com
echo
echo Local IP
/sbin/ifconfig enp3s0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'
}
fuck
ipp