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
+4k Golang : Regular Expression find string example
+5.6k Golang : Determine if time variables have same calendar day
+11.3k Golang : How to get hour, minute, second from time?
+4.7k Golang : Convert a rune to unicode style string \u
+2.3k Linux/Unix/PHP : Restart PHP-FPM
765 Golang : How to solve "too many .rsrc sections" error?
+18.5k Golang : Remove characters from string example
+8.4k Golang : Get checkbox or extract multipart form data value example
+4.5k Golang : How to control fmt or log print format?
+3.5k Golang : Scramble and unscramble text message by randomly replacing words
+3.4k Golang : Generate human readable password
+6.2k Golang : Accurate and reliable decimal calculations