Find out what OS you are using

Soldato
Joined
12 Jan 2006
Posts
2,547
This is probably a really stupid question, but how do i find out what OS is running without having to restart it?
I know finding the kernel is uname -r, and it gives me back 2.4.31

But how do i know what flavour it is running, i suspect it is Debian but is there any way to confirm it from a ssh session

Thanks in advance
 
Most Linux distributions maintain release information file in the /etc directory.

Debian will have something like /etc/debian_release or /etc/debian_version
 
Back
Top Bottom