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
+13.4k Golang : Save(pipe) HTTP response into a file
+7.6k Golang : Set or add headers for many or different handlers
+5.1k Golang : Get missing location after unmarshal binary and gob decode time.
+5.3k Golang : Test input string for unicode example
+10.6k Golang : Convert(cast) float to int
+5.6k Elasticsearch : Shutdown a local node
+8.2k Golang : How to get garbage collection data?
+3.8k Golang : Get a list of crosses(instruments) available to trade from Oanda account
+8.2k Golang : Terminate-stay-resident or daemonize your program?
+4.2k Golang : Calculate half life decay example
+5k Fix ERROR 2003 (HY000): Can't connect to MySQL server on 'IP address' (111)
+24.6k Golang : missing Mercurial command