Re: Command that displays flavor or Linux
- From: "jdanskinner" <JDanSkinner@xxxxxxxxxxxxxxx>
- Date: 24 Aug 2006 07:23:29 -0700
Nigel wrote:
I'm working with automation and am trying to find a universal Linux
command that will display which flavor or Linux I am dealing with. For
example, SUSE, Red Hat, etc..
I tried using 'uname', but none of the switches display the OS nice
name.
My question is:
1. Is there such a command which displays the OS nice name? (SUSE, Red
Hat, etc..)
2. If not, does anyone know another way of distinishing between OS
flavor in a univeral manner?
Thanks,
Nigel
Universal is a big word, but you might try
cat /etc/*-release
Regards...Dan.
.
- Follow-Ups:
- Re: Command that displays flavor or Linux
- From: Nigel
- Re: Command that displays flavor or Linux
- References:
- Command that displays flavor or Linux
- From: Nigel
- Command that displays flavor or Linux
- Prev by Date: Re: Command that displays flavor or Linux
- Next by Date: Re: Command that displays flavor or Linux
- Previous by thread: Re: Command that displays flavor or Linux
- Next by thread: Re: Command that displays flavor or Linux
- Index(es):
Relevant Pages
|
|