SyntaxFix
Write A Post
Hire A Developer
Questions
If you're a normal user (i.e., not 'root') ifconfig isn't in your path, but it's the command you want.
ifconfig
More specifically: /usr/sbin/ifconfig -a
/usr/sbin/ifconfig -a