You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get_ip() {
# Replace 'eth0' with your interface name, such as 'wlan0' for Wi-Filocal interface="ens33"
ip addr show $interface2>/dev/null | grep 'inet '| awk '{print $2}'| cut -d'/' -f1
}