[plug] Which linux is that ?

Bernard Blackham bernard at blackham.com.au
Tue Oct 29 21:59:51 WST 2002


On Tue, Oct 29, 2002 at 09:07:07PM +0800, Daniel wrote:
> Hello Plug, I am wondering if I sit at a strange linux box - how I find
> out if it is Redhat/Mandrake/Debian/Suse etc?

In most default installs, a "cat /etc/issue" will give you the
banner string given at the console. Tells you which release aswell
for most of the distros i've tinkered with - RH, Debian, Mandrake
and maybe more. But this can be customised after the install, so it
may say something completely different.

eg:
$ cat /etc/issue
Debian GNU/\s 3.0 \n \l

Rgds,

Bernard.

-- 
 Bernard Blackham
 bernard at blackham.com.au
 Australian Linux Technical Conference 2003: http://www.linux.conf.au/



More information about the plug mailing list