In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
What if inux does not support all commands? Resolve the problem that all commands in Linux cannot be used
This problem indicates that there is a problem with your / etc/profile configuration, usually because of a problem with the path configuration. Eliminate the errors in the additions, and then restart a new window to execute source / etc/profile.
Vi is also useless when all commands are not available.
At this point, you need to use the absolute path of the shell command to invoke the command.
# Edit profile file / usr/bin/vim / etc/profile
Then execute in the new window
Source / etc/profile
All linux commands cannot be used
When configuring nginx, all linux commands cannot be used after error export
The reason for this problem is that the environment variables of the system are not configured correctly. There are many reasons, such as system upgrade, improper operation and so on, which lead to the overwriting and modification of environment variables. There are two ways to solve this problem.
One: enter the following directly in the linux command line interface, and then press enter (import environment variables and the storage address of common shell commands):
Export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
Second: if all the commands of the system are not available, you can also use the absolute command vi to open profile
/ bin/vi / etc/profile
Add the environment variable address to the configuration file of the system
Export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
The above is the result of the editor's combination of many articles, hoping to help you all.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.