[PLUG] proc filesystem

Naresh on 2002年12月24日 00:10:35 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] proc filesystem


How can I obtain my ipaddress from the proc filesystem. I was thinking of
doing it like that:
cat /proc/net/arp | awk '{print 1ドル}'
which works on my computer, but not on most.
TIA
Naresh
_________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion -- http://lists.netisland.net/mailman/listinfo/plug



AltStyle によって変換されたページ (->オリジナル) /