-
Associate
my own ip
what is the command to find the local ip adress and any other information?
-
Mentor
Re:my own ip
ifconfig
or /sbin/ifconfig
-
Advisor
Re:my own ip
'ip address' command will give you the same information but in more friendly format so to speak. Works on RH, never tested it on other distros.
-
Mentor
Re:my own ip
[quote author=elovkoff link=board=4;threadid=9552;start=0#msg86984 date=1090507428]
'ip address' command will give you the same information but in more friendly format so to speak. Works on RH, never tested it on other distros.
[/quote]
wow! i never knew that! thanks! it works well in slackware.
-
Moderator
Good Guru
Re:my own ip
"ifconfig" will work on all distros. "ip address" doesn't work on Debian.
If you need it for specific NIC card, you can either do "ifconfig eth0" or "ifconfig eth1" or "ifconfig lo" depending on which interface you want to get info for.
-
Associate
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks