Configure by modifying the ~ /. Bashrc
file in the user directory:
vim ~/.bashrc # add in the last line export PATH=$PATH:/home/uusama/mysql/bin
matters needing attention:
Effective time: it takes effect when a new terminal is opened with the same user, or it takes effect manually source ~ /. Bashrc
Effective period: permanent
Effective range: only valid for the current user
If a subsequent environment variable loading file overwrites the Path
definition, it may not take effect
Similar Posts:
- [Solved] JSCH cannot run JAVA bash:java:Command not found.
- Linux: Environment Variables C_INCLUDE_PATH, CPLUS_INCLUDE_PATH, CPATH Common Error [How to Solve]
- Linux use the man command error: Man: command not found [How to Solve]
- [Solved] JPype Error: FileNotFoundError: [Errno 2] No such file or directory: ‘/usr/lib/jvm’
- arm-linux-gnueabihf-g++: error trying to exec ‘cc1plus’: execvp: No such file or directory
- ubuntu18.04 Start Android StudioKVM is required to run this AVD ./dev/kvm device: permission denied.
- [Hadoop 2. X] after Hadoop runs for a period of time, stop DFS and other operation failure causes and Solutions
- [Solved] Mac install maven Error: zsh: command not found: MVN
- ImportError: Couldn’t import Django [How to Solve]
- NS2 Execute Error: invalid command name “Agent/LUV” [How to Solve]