Best Answer: Where Is Ifconfig Located in Linux?
Contents

You have /usr/local/bin , /usr/bin and /bin . As you already found out ifconfig is inside /sbin . So where that path is set you also need to include /sbin .

How do I check for Ifconfig in Linux?

ifconfig command is generally available under /sbin directory. So you will need root or sudo access to run this on many of operating systems. As per above output, this system has IP address 192.168. 10.199 on Ethernet interface eth0.

Where is ipconfig on Linux?

The ifconfig command works in the same way for finding the IP address of a device using terminal in Linux as ipconfig command works for finding the IP address of a device using command prompt in Windows.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest