You are hereBlogs / Carl's blog / Linux Foolery: ifconfig: command not found
Linux Foolery: ifconfig: command not found
This one gets me every time, so I'm writing it here so I don't have to look it up again: I'm in a linux terminal and I need to find the IP. I try to do the command most equivalent to Windows' ipconfig; ifconfig. This is what I get:
-bash: ifconfig: command not found
Command not found??? This has to be one of the most basic commands!!!!!!!!1111111 It turns out that if you are not a root user, you need to preface the command with /sbin/. So . . .
The Solution:
type
/sbin/ifconfig
Hope that helps at least one stuck linux user other than myself. Maybe I need to get myself a copy of Linux For Dummies, 9th Edition
- Carl's blog
- Add new comment
- 3183 reads
Tags







Thanks, this really helped me