New Script: functions.sh
This commit is contained in:
parent
d3120fcf19
commit
e5c65136c4
16
functions.sh
Executable file
16
functions.sh
Executable 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
|
Loading…
x
Reference in New Issue
Block a user