Common command record

 

Get file permissions: chmod +x ./XXX.sh


Check the operating system on which this document was edited: :set ff?

 

Modify the system format: :set ff=unix save and exit

 

kill thread kill -9 pid

 

Version switching of mac jdk: http://www.cnblogs.com/maxinliang/p/4389971.html

 

 

System configuration /etc/profile permissions:

sudo vi /etc/profile

 

i

 

Exit after modification

 

 

Modify the file to take effect: source /etc/profile

 

 

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326437375&siteId=291194637