There is a space between the g and -a. should beifconfig -aSee the space in the command. In Unix/Linux commands likeDOS options are separated from command by a space.