Linux: How to get an external IP address from the command line
5 января 2017, 10:30
curl smart-ip.net/myip
or
dig +short myip.opendns.com @resolver1.opendns.com
or
#!/bin/bash
MYIP=$(wget -O - -q icanhazip.com);
echo $MYIP;
Популярное
Openmediavault: join a Windows 2008R2 domain
Tomcat — Digest Authentication
Linux: How to get an external IP address from the command line
Linux: 20 Iptables Examples For New SysAdmins
iptables rules for NAT with FTP active / passive connections
How to reset the admin password for ISPConfig 3
Запускаем графические приложения на сервере без иксов с удаленным доступом к ним по VNC