ifconfig!!!!

why the ifconfig command is not working in my machine?

it says "-bash: ifconfig: command not found"

why its says that?
actually i m looking for "how can I know the Network Interface Card physical address?"

Requesting u all for help.

thanks

Try /sbin/ifconfig

/sbin/ifconfig -a|grep HWaddr|awk '{print $5}'

should do the trick :slight_smile:

i go for combining it!

/sbin/ifconfig -a | awk '/HWaddr/ {print $5}'