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
+10.2k Golang : Setting variable value with ldflags
+8.8k Golang : Progress bar with ∎ character
+8.4k Golang : Metaprogramming example of wrapping a function
+38.5k Golang : Converting a negative number to positive number
+7.5k Golang : Not able to grep log.Println() output
+11.8k Golang : Display a text file line by line with line number example
+20k Golang : Archive directory with tar and gzip
+23.7k Golang : Get ASCII code from a key press(cross-platform) example
+25.5k Golang : Convert uint value to string type
+20.4k Golang : How to get struct tag and use field name to retrieve data?
+12.8k Golang : Remove or trim extra comma from CSV
+35.5k Golang : Strip slashes from string example