Forum Thread: Trouble with "Ifconfig" Command in Kali

Trouble with "Ifconfig" Command in Kali

Hello. I have been having trouble getting the command "ifconfig" to work on my terminal. I do not have an external wireless card yet but plan on getting one. I know this may seem trivial. If anyone has any ideas please share. All ideas are welcome! Thanks!

Here is a error I receive:
admin@kali:~$ ifconfig
bash: ifconfig: command not found

I realize I am working under admin privileges and I did this for security purposes. I have also tried it under root and continue to get the same error.

14 Responses

Greetings. The user account you are using /sbin is not part of its environment, perhaps.
Perhaps by typing the full path to ifconfig i.e. something like /sbin/ifconfig

That is a good first place to look, but he says it doesn't work with root, either. Let's get a screenshot of trying "ifconfig" with the root user.

Update: Thank you all for your help. I typed the full path with the root user and that resolved the problem. Thanks!

Flawless.

It'd be interesting to know if this happened in a brand new installation, so that we can maybe report some bugs, if it is even a bug.

"Update: Thank you all for your help. I typed the full path with the root user and that resolved the problem. Thanks!
2 months ago"

msfpayload has been deprecated. Use msfvenom.

if u get like this commad not found just type like this
sudo ifconfig
and enter system password
add sudo before the command

You must have sudo previlegies.
sudo ifconfig

I can not type in my code... HELP..

You won't be able to see the password, but it's typing.

Share Your Thoughts

  • Hot
  • Active