1.gedit ~/.bashrc
2. In bashrc, export PATH= is one level above the absolute path of software.sh, usually the bin file: PATH export PATH = / home / T est / bin: {PATH} export PATH= /home/Test/bin:PATHexportPATH=/home/Test/bin:{PATH}
3.source ~/.bashrc
Ubuntu16.04
problem: Command'ls ' is available in'/bin/ls'
Solution: export PATH=/usr/bin:/bin