Check CentOS version
While troubleshooting Go setup on my CentOS box. I need to find out which version of the CentOS I'm running on. The fastest way is to
cat /etc/*release*
By Adam Ng
IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.
Advertisement
Tutorials
+19.7k Golang : Get password from console input without echo or masked
+8.4k Golang : How to protect your source code from client, hosting company or hacker?
+32.1k Golang : Create x509 certificate, private and public keys
+12.5k Golang : unknown escape sequence error
+18.1k Golang : Compare floating-point numbers
+13k Golang : How to get URL port?
+8.8k Golang : Find and replace data in all files recursively
+10k Use systeminfo to find out installed Windows Hotfix(s) or updates
+16.8k Golang : Get download file size
+18.7k nginx: [emerg] unknown directive "passenger_enabled"
+19.7k Golang : For loop continue,break and range
+11.7k Golang : Increment string example