How to determine which distribution version is in a shell script?
認(rèn)證0級(jí)講師
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