Re: Check the linux type?
- From: ray <ray@xxxxxxxxxx>
- Date: Thu, 29 Mar 2007 08:46:24 -0600
On Thu, 29 Mar 2007 04:20:47 -0700, SamG wrote:
Hi,
How do i check what linux type am i using from a script. Like ubuntu
or suse or fedora.
Sam
More and more often, we are seeing a file /etc/lsb-release - Linux
Standard Base release. So start with "cat /etc/lsb-release". If it's not
there, there is usually a file in /etc that will have release or version
in it's name, so maybe "ls /etc | grep -i version" and "ls /etc | grep -i
release" will turn up something.
.
- References:
- Check the linux type?
- From: SamG
- Check the linux type?
- Prev by Date: Re: Check the linux type?
- Next by Date: Re: Check the linux type?
- Previous by thread: Re: Check the linux type?
- Next by thread: Re: Check the linux type?
- Index(es):
Relevant Pages
|