![]() If you want to find this modern address number for your system then type nc 6ifcfgme 23 grep colournever IP and push enter. Ifconfigme Displays a wealth of information including public IP user agent port used language etc. Wget and curl commands can be also used to discover your external IP address. These are also useful to use in a shell script. To get the IP address in a script just do. The output will show the public IP Address user agent and the port you are connected. To find out your DNS Server IP address use the following cat command or less command. What is my IP command line is also available through their API service. Pin By Tecmint Linux Howto S Guide On Shell Scripting Series Script Suggestion Coding Register your server at one of the many free dynamic dns services eg.īash what is my external ip. If you are using a command-line or terminal use a retrieval command like curl or wget to display the external IP address. ![]() The easier one is to use the external service also the ifconfig based solutions will work in your system only if youre not behind a NAT.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |