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
+21.9k Golang : Repeat a character by multiple of x factor
+13.7k Golang : Google Drive API upload and rename example
+5.6k Golang : Find change in a combination of coins example
+12.3k Golang : Sort and reverse sort a slice of bytes
+10.8k Golang : Create S3 bucket with official aws-sdk-go package
+19.8k Golang : How to get struct tag and use field name to retrieve data?
+22k Golang : Read directory content with filepath.Walk()
+17k Golang : Check if IP address is version 4 or 6
+7.9k Golang : Reverse text lines or flip line order example
+30.8k Golang : bufio.NewReader.ReadLine to read file line by line
+11.7k Golang : Detect user location with HTML5 geo-location
+7.6k Golang : Regular Expression find string example