The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
what is the command to get my ip ?
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
what is the command to get my ip ?
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
11
(
permalink
)
01-09-2006
x-375HK-x
Registered User
Join Date: Dec 2005
Posts: 8
i have the following function in my .bashrc ( I'm running solaris)
getip ()
{
/sbin/ifconfig eri0 | awk '/inet/ { print $2 } ' |
sed
-e s/addr://
}
it prints just my ip
x-375HK-x
View Public Profile
Find all posts by x-375HK-x
Find x-375HK-x's past nominations received
Find x-375HK-x's present nominations given