tag:blogger.com,1999:blog-694855878384792308.post8137063865039948817..comments2024-03-21T06:26:49.387-07:00Comments on Java67: Unix command to find IP address from hostname - Linux examplejavin paulhttp://www.blogger.com/profile/15028902221295732276noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-694855878384792308.post-88509940309007224672021-08-24T13:31:56.313-07:002021-08-24T13:31:56.313-07:00always i used to read smaller articles that ass w...always i used to read smaller articles that ass well clear <br />their motive, and that is also happening with this <br />article which I am reading aat this time.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-41824929511373008952021-04-25T23:51:31.693-07:002021-04-25T23:51:31.693-07:00Yes, you can quote. Yes, you can quote. javin paulhttps://www.blogger.com/profile/15028902221295732276noreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-17364367418416935242021-04-08T10:04:20.751-07:002021-04-08T10:04:20.751-07:00Do you mind if I quote a couple of your articles a...Do you mind if I quote a couple of your articles as long <br />as I provide credit and sources back to your webpage? My blog site is in the very same niche as yours and my users would certainly benefit from a <br />lot of the information you provide here. Please let me know if <br />this alright with you. Cheers!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-3660634458067102592020-06-12T07:16:36.321-07:002020-06-12T07:16:36.321-07:00hostname -i
works simply..hostname -i<br />works simply..Prasannahttps://www.blogger.com/profile/02809910097165060867noreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-17877333478013145492019-09-05T05:24:53.329-07:002019-09-05T05:24:53.329-07:00just type $hostname -ijust type $hostname -ijavin paulhttps://www.blogger.com/profile/15028902221295732276noreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-58975596999327012382019-09-04T23:22:46.893-07:002019-09-04T23:22:46.893-07:00how to check the ip address of the server in which...how to check the ip address of the server in which we are currently workingAnonymoushttps://www.blogger.com/profile/11608582759193957000noreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-26044922496441455052019-01-07T19:44:41.690-08:002019-01-07T19:44:41.690-08:00I can't get the ip address by giving ifconfig ...I can't get the ip address by giving ifconfig in oracle<br />Anonymoushttps://www.blogger.com/profile/10858596931572818177noreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-34793088677359198972017-07-31T19:32:09.540-07:002017-07-31T19:32:09.540-07:00what about dig?what about dig?Arronhttps://www.blogger.com/profile/02812856604814540340noreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-55557237456603701892017-07-30T08:04:56.906-07:002017-07-30T08:04:56.906-07:00$hostname -I$hostname -IAnonymoushttps://www.blogger.com/profile/07635726984741123701noreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-31057522875568024712016-09-06T21:17:27.331-07:002016-09-06T21:17:27.331-07:00Thanks Anonymous, this is seriously good informati...Thanks Anonymous, this is seriously good information. We recently have a problem where we migrated machine to new infrastructure. we kept the DNS alias and hostname same but IP address was changed. Most of things went fine but one of the host in infrastructure was still resolving to old IP address. After much debugging it turns out the stale entry in nscd, a daemon which provide cache for most common name service requests. Once the nscd was restarted in problematic host the issue was resolved and hostname was resolved to new IP address.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-45903015274210734622015-08-04T20:00:28.555-07:002015-08-04T20:00:28.555-07:00You can also use 'host' command to find IP...You can also use 'host' command to find IP address associated with a hostname. Since a hostname can have multiple IP address, its better to use a DNS lookup utillity like host or nslookup. This way you will get all the IP address which that DNS name (hostname) is pointing. Commands like ping will only show one of the IP address mapped to the DNS name. <br /><br />Here is how you can use 'host' command :<br />host google.com<br />google.com has address 176.50.192.43<br />google.com has address 176.50.192.44<br />google.com has address 176.50.192.45<br /><br />nslookup also prints the name server which is used to resolve DNS names into IP address. Anonymousnoreply@blogger.com