Linked Questions

5
votes
3answers
15k views

How do I identify which Linux distro is running? [duplicate]

We have some new hardware in our office which runs its own customized Linux OS. How do I go about figuring which distro it's based on?
3
votes
3answers
163 views

How can I identify the variant of Unix/Linux from a shell? [duplicate]

Possible Duplicate: How can I get distribution name and version number in a simple shell script? Given a shell, how can I identify the variant of Unix/Linux that is running on a remote ...
9
votes
0answers
489 views

How to determine distribution from command line? [duplicate]

Possible Duplicate: Bash: Get Distribution Name and Version Number Given (root) access to a machine with Linux through the command line(over ssh), how can I determine which distribution is ...
0
votes
1answer
92 views

Which tool can tell me the distribution of Linux that is running when uname is generic? [duplicate]

I normally use uname to determine which OS is running, but I have accounts on several machines where I don't know the particular distribution that is running. When uname returns Linux, I tried uname ...
0
votes
1answer
93 views

Reading Linux distribution name from filesystem or command [duplicate]

I need to collect some system info from linux machines and decide what to do based on some distribution/version -specific conditionals. To simplify my example, I concocted a fictitious ...
0
votes
0answers
56 views

Finding out what Linux I'm running [duplicate]

Possible Duplicate: Bash: Get Distribution Name and Version Number Is there any consistent way of determining the Linux Distribution / Release that a machine is running if you don't already ...
0
votes
0answers
26 views

Figure out which distro I'm using with Zsh script [duplicate]

I'm making a script that installs some basic needs of mine on my newly installed Linux. However depending on the Linux distro the contents and commands would be different. In Arch Linux I would use ...
22
votes
11answers
10k views

How can I reliably get the operating system's name?

Say I am logged into a remote system, how can I know what it's running? On most modern Linuxes (Linuces?), you have the lsb_release command: $ lsb_release -ic Distributor ID: LinuxMint Codename: ...
12
votes
5answers
68k views

How to determine Linux kernel architecture?

uname -m gives i686 and uname -m gives i686 i386 output in Red Hat Enterprise Linux Server release 5.4 (Tikanga) machine. I need to install Oracle Database 10g Release 2 on that machine. So, how can I ...
19
votes
3answers
846 views

Which are the standard commands available in every Linux based distribution?

I would like to know which are the standard commands available in every Linux system. For example if you get a debian/ubuntu/redhat/suse/arch/slackware etc, you will always find there commands like: ...
9
votes
4answers
576 views

How to write a script that effectively determines distro name?

I saw this post on all the different ways to find out what distro is installed, so I'm trying to write a script that tries them all. The possible commands include: $ cat /etc/lsb-release $ cat ...
3
votes
2answers
921 views

Identifying the system package manager

Is there a way (from a script) to identify the default system package manager? To clarify, what I want to do is run a given command and, on Debian or any of its derivatives it'll return something ...

15 30 50 per page