DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I was installed the Debian etch 4.0 on my laptop, And i have a problem with "ifconfig" command, so when i was use this command the following message were appeared: "bash: ifconfig: command not found"
please help me for this problem
thank you for your help
You just need to "become" root in a terminal, which is done by using the command "su" and entering your root password when prompted. If you want a terminal "outside" of the GUI, then you should be able to use Ctrl+Alt+F[1-6] (my notation "F[1-6]" means F1, F2, ..., F6). Does that answer your question?
Basically to understand why you get this message, /sbin/ifconfig is not in your users environment path. You can add it however I simply just run the entire path of the command since that is what I am use to:
Code:
/sbin/ifconfig eth0
Your hardware maybe different and not labeled eth0 so you can leave that off and view all labeled interfaces on the system. Chances are however eth0 is your first functioning interfaces.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.