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
+18.7k Golang : Get download file size
+10k Golang : Translate language with language package example
+29.1k Golang : Get first few and last few characters from string
+26.3k Golang : Calculate future date with time.Add() function
+16.6k Golang : Get IP addresses of a domain name
+14.6k How to automatically restart your crashed Golang server
+11.7k Golang : Convert(cast) float to int
+4.9k Javascript : How to get width and height of a div?
+11.4k Golang : How to flush a channel before the end of program?
+7.5k Golang : How to detect if a sentence ends with a punctuation?
+9.4k Golang : Timeout example
+20.3k Golang : How to get own program name during runtime ?