Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My friend had told me it was "ip", which I tried, but I found the output from ifconfig nicer for the occasions that i use it.


There are lots of flags controlling what it outputs, so have a look, there's likely a way to adjust it. Or alternatively, ip supports "-json" so you can process it however you want, or write wrappers.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: