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
+3.6k Linux/MacOSX : Search and delete files by extension
+35.1k Golang : Convert date or time stamp from string to time.Time type
+18.5k Android Studio : AlertDialog and EditText to get user string input example
+14.5k Golang : Read large file with bufio.Scanner cause token too long error
+23.6k Golang : Get current file path of a file or executable
+8.8k Golang : Test a slice of integers for odd and even numbers
+13.1k Golang : Recombine chunked files example
+8.9k Golang : Channels and buffered channels examples
+6k Golang : Null and nil value
+11.3k Golang : Sort and reverse sort a slice of bytes
+28.8k Golang : Remove characters from string example
+13k Golang : How to determine if user agent is a mobile device example