linux - How to determine the distribution version in shell script?
PHP中文网
PHP中文网 2017-06-19 09:07:26
0
1
1198

How to determine which distribution version is in a shell script?

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
学习ing

View operating system:

lsb_release -a 

Check the shell version, if you are using bash, and so on for other types of shells:

bash --version
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template