ok, so on the terminal in fedora 4 I type in " ifconfig" which is the command to see what my ip is, but instead I get: command not found.
is there another command? I though in linux ifconfig was the one, I know in windows it's ipconfig.

Recommended Answers

It has to do with paths. ifconfig is located in /sbin, so if you run try to run ifconfig as a regular user (not root), you will usually get "command not found". So, do this:

/sbin/ifconfig
Jump to Post

All 2 Replies

It has to do with paths. ifconfig is located in /sbin, so if you run try to run ifconfig as a regular user (not root), you will usually get "command not found". So, do this:

/sbin/ifconfig

ok, that worked, thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.