16 lines
225 B
Bash
16 lines
225 B
Bash
|
#!/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
|