How to add quick start to .sh file in Ubuntu

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

Guess you like

Origin blog.csdn.net/guanxunmeng8928/article/details/111250841