diff --git a/functions.sh b/functions.sh new file mode 100755 index 0000000..59c9c8d --- /dev/null +++ b/functions.sh @@ -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 \ No newline at end of file