LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Slackware version (https://www.linuxquestions.org/questions/linux-newbie-8/slackware-version-4175530390/)

funnsoup 01-07-2015 09:17 PM

Slackware version
 
Hello,

I have a question that I hope someone can answer.

I need to find the slackware version my server is running?

Apparently I hosed the /etc/slackware-version file as well, this is why I need help.

Thanks!

astrogeek 01-07-2015 09:21 PM

What is the output of uname -r?

funnsoup 01-07-2015 09:27 PM

2.6.37.6-smp

funnsoup 01-07-2015 09:28 PM

so it should be 13.37 correct?

thanks!

astrogeek 01-07-2015 09:29 PM

Yes, unless you installed a later kernel, that would be Slackware-13.37.

funnsoup 01-07-2015 09:33 PM

Awesome! Thanks for the help.

astrogeek 01-07-2015 09:42 PM

You are welcome!

frankbell 01-07-2015 09:43 PM

This is a catchall command, but it works on most distros, including Slackware.

Code:

$ cat /etc/*release*  <---That's the catchall
NAME=Slackware
VERSION="14.1"
ID=slackware
VERSION_ID=14.1
PRETTY_NAME="Slackware 14.1"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:slackware:slackware_linux:14.1"
HOME_URL="http://slackware.com/"
SUPPORT_URL="http://www.linuxquestions.org/questions/slackware-14/"
BUG_REPORT_URL="http://www.linuxquestions.org/questions/slackware-14/"



All times are GMT -5. The time now is 12:02 AM.