Bug0049 Posted April 25, 2004 Share Posted April 25, 2004 I know you can go to www.ipchicken.com to get your external IP should you be behind a router. Sometimes I need my IP that my router assigns me. In Windows XP I just used ipconfig, but is there an equivalent command for linux? thanx, bug Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted April 25, 2004 Veteran Share Posted April 25, 2004 I know you can go to www.ipchicken.com to get your external IP should you be behind a router. Sometimes I need my IP that my router assigns me. In Windows XP I just used ipconfig, but is there an equivalent command for linux?thanx, bug Yeah... ifconfig (for interface config) Link to comment Share on other sites More sharing options...
Fred Derf Veteran Posted April 25, 2004 Veteran Share Posted April 25, 2004 Yeah...ifconfig (for interface config) If you are behind a NAT then ifconfig will only report your private IP address. Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted April 25, 2004 Veteran Share Posted April 25, 2004 Oh, and a trick to help you find these things on your own is the nifty command apropos Try doing an apropos fstab to see a list of all man entries that contain a reference to "fstab". You can further refine searches like this with a | grep "(8)" at the end to filter out only those commands that are executed as a shell command. Link to comment Share on other sites More sharing options...
Recommended Posts