Work, play, and everything in-between.
Getting the NIC’s MAC address:
ifconfig ethx | awk '/HWaddr/ {print $5}'
To enumerate all MAC addresses, just replace ethx with -a.
ethx
-a
Name (required)
Mail (will not be published) (required)
Website
agriculture blogging books cli cms cool design family feeds flickr fun gadget geek gmail google howto humor ict4d internet javascript julian linux ltsp microsoft mobile network news opensource personal pfi programming reading research rss security status tech tools toys ubuntu watching web wireless wordpress yahoo
WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.
0 Responses to “CLI shortcuts, 3”
Leave a Reply