Re: Check the linux type?



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.

.



Relevant Pages

  • Re: To SuSE or not to SuSE
    ... Multiplayer Online Games ... I moved to suse from redhat many years ago because of its broad hardware support, and continued to find it supported my hardware configurations. ... Its one of the most complete of the distributions I regularly use (Suse, Ubuntu, Centos, Fedora). ...
    (alt.os.linux.suse)
  • Re: The Linux Distribution quiz
    ... In my case, it gave me 4 distros to choose from, including Ubuntu:) (the other 3 it gave me were Debian, Fedora and Suse). ...
    (Ubuntu)
  • Re: [PATCH 0/7] Ksplice: Rebootless kernel updates
    ... We've talked to kernel team people from Fedora, Ubuntu, and SUSE so far. ... Fedora 8, 9, and 10, Debian sid, and Ubuntu jaunty are currently shipping packages for the standalone version of Ksplice. ...
    (Linux-Kernel)
  • Re: Betriebssystem auf Notebook
    ... wieso kriegen Ubuntu und SUSE das einwandfrei hin, ... während Fedora und Mandriva in dieser Hinsicht halbe Sachen abliefern? ...
    (de.comp.sys.notebooks)
  • Check the linux type?
    ... How do i check what linux type am i using from a script. ... Like ubuntu ... or suse or fedora. ...
    (alt.os.linux)