Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
vacri
on Jan 28, 2012
|
parent
|
context
|
favorite
| on:
Understanding the bin, sbin, usr/bin , usr/sbin sp...
'ip addr show dev eth0' will show you the cruft just for eth0, but I'm not sure if there's a way to limit it to just listing the ipv4 or v6 addresses.
mrud
on Jan 28, 2012
[–]
just add -4 or -6:
ip -4 addr show dev eth0 or ip -6 a s eth0
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: