The ifconfig command is invalid when securecrt logs on to the linux Virtual Machine.
Source: Internet
Author: User
After logging on to linux with secureCRT, enter the command line ifconfig and the prompt bash: ifconfig: commandnotfound will be displayed. The same is true if you enter gcc. This is because the complete variables have not been set in our environment variables. If we enter/sbin/ifconfig or/usr/bin/gcc...
After logging on to linux with secureCRT, enter the command line ifconfig, and the prompt bash: ifconfig: command not found will be displayed. The same is true for entering gcc. 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 www.2cto.com is complete, enter ifconfig and execute the command. if not, log off the user and log on to the test. Author jayghost
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.