Causes and Solutions for inresponsiveness of ifconfig input in linux
Source: Internet
Author: User
After installing linux, enter the terminal and enter the command line ifconfig. the prompt bash: ifconfig: commandnotfound is displayed. This is because the complete variables have not been set in our environment variables. If we enter/sbin/ifconfig or/usr/bin/gcc, we can execute the command...
After installing linux, enter the terminal and enter the command line ifconfig. the prompt bash: ifconfig: command not found is displayed. This is because the complete variables have not been set in our environment variables. If we enter/sbin/ifconfig or/usr/bin/gcc, we can execute the command line. In order not to enter the full path of the command line, it is best to configure the path for the user. Vi ~ /. In bash_profile, add PATH = $ PATH:/sbin press enter export PATH press enter PATH = $ PATH:/usr/bin press enter export PATH. After entering ifconfig, you can execute the command. if not, you can unregister the user and then log on to the test. Enter [XXX @ localhost ~] directly at www.2cto.com. $ PATH = $ PATH:/sbin [XXX @ localhost ~] $ Export PATH [XXX @ localhost ~] $ PATH = $ PATH:/usr/bin [XXX @ localhost ~] $ Export PATH and then input ifconfig.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.