Hi,
For '''Ticket #10''' we can implement the following line which can fetch us the
mac address of the machine:
Command :-
$ /sbin/ifconfig -a| awk ' ($0~/Link encap:Ethernet HWaddr /){print
$1"\t" $5}'
Output :-
eth0 00:XX:XX:XX:XX:3E
eth1 00:XX:XX:XX:XX:3D
We can also limit the output to eth0 only.
Thanks and Regards
Gaurav
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
sisuite-devel mailing list
sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel