When I was installing the software today,
I had to execute the path variable at the end and accidentally put the command source /etc/profile into the profile,
and then an error occurred. I was very unhappy. I
was a little panicked at the time. I searched all over Baidu.
Finally, I had no choice but to ask the boss to come forward.
Two commands were enough to get it done.
1. First, confirm whether the variable can be viewed and execute echo $PATH. The result is as shown in Figure
2. Execute unset PATH
(my understanding) This means deleting variables)
3. Execute /usr/bin/vim /etc/profile to enter the interface and delete source /etc/profile
4. Re-open another connection window and find that it is normal (I used xshell to connect).
So far this problem solve
1. When executing the command, it prompts -Argument list too long
Guess you like
Origin blog.csdn.net/Lcongming/article/details/123365231
Ranking