Linux Medium echo and echo > Japanese echo >>

1. The echo command in Linux

The shell's echo command is used for string output. See:

Shell echo command | Novice Tutorial

Two, echo > and echo >>

The difference between echo > and echo >> is detailed in:

Linux echo's> and>>_xiaotongzhi_w's blog-CSDN blog

sudo echo "export PYTHONPATH="/usr/local/lib/python2.7/dist-packages:/usr/local/lib/python2.7/dist-packages/yaml:$PYTHONPATH"" >> ~/.bashrc

That is, PYTHONPATH is appended to the end of the .bashrc file

Guess you like

Origin blog.csdn.net/m0_46093829/article/details/122580512