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
+5.8k Restart Apache or Nginx web server without password prompt
+4.9k Golang : Get Hokkien(福建话)/Min-nan(閩南語) Pronounciations
+14.9k Golang : Find out mime type from bytes in buffer
+5k Golang : Calculate US Dollar Index (DXY)
+50.1k Golang : Check if item is in slice/array
+21.1k Golang : How to read JPG(JPEG), GIF and PNG files ?
+4.1k Swift : Convert (cast) Float to Int or Int32 value
+9.7k Golang : Simple image viewer with Go-GTK
+8.6k Golang : How to check if a website is served via HTTPS
+13.6k Golang : Accurate and reliable decimal calculations
+12.5k Golang : Reverse IP address for reverse DNS lookup example