Linked Questions

131 votes
3 answers
224k views

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?
mrTomahawk's user avatar
  • 1,413
51 votes
8 answers
117k views

When I run cat /proc/version command in terminal, I got below output: Linux version 2.6.18-348.1.1.0.1.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP ...
ursitesion's user avatar
  • 1,027
3 votes
3 answers
651 views

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 server?
Casebash's user avatar
  • 1,071
4 votes
4 answers
520 views

I have an unknown (let's assume uname -a returns nothing) Linux distribution I have root access to. How can I verify, looking at file structure, that it is based on Debian?
syntagma's user avatar
  • 12.9k
2 votes
3 answers
1k views

Suppose I have a set of pre-requisites I need to install for any of a number of linux distributions. In this case, I'd need to switch my install expression against the distribution. I am aware of ...
Chris's user avatar
  • 1,087
0 votes
1 answer
2k views

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 ...
Robottinosino's user avatar
0 votes
1 answer
2k views

I try to know the linux distribution version of a remote linux machine. After trying several commands, I still can't identify the linux distribution version $ uname -a Linux server1 2.6.18 #1 Thu Jan ...
lily's user avatar
  • 1
0 votes
1 answer
367 views

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 -...
bmike's user avatar
  • 302
2 votes
2 answers
197 views

I ran uname -a but I still have no clue what distro this is. The result: Linux (none) 3.18.0 #4 Sun May 29 03:28:04 CEST 2016 i686 GNU/Linux All I can get from that is that it has a i686 processor, ...
herronjo's user avatar
9 votes
0 answers
526 views

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 ...
apoorv020's user avatar
  • 1,293
0 votes
2 answers
251 views

I have several hard drives loaded with Linux/UNIX-style operating systems. Is there some way to tell the distribution or operating system installed on the drive without booting into each individually? ...
Wolf's user avatar
  • 1,647
1 vote
2 answers
160 views

I would like to know a linux command that can tell me the operating system and version regardless of what distribution I am using as it seems different distributions have a different way of doing this....
rjbcollege's user avatar
1 vote
0 answers
47 views

I have Linux Mint Version 7.1 Rebecca. What do I need to write in the command line in order to find this information. I tried uname -a , but I got informations about my computer name, Kernel Version ...
Abdul Al Hazred's user avatar
247 votes
14 answers
747k views

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 ...
user2914's user avatar
  • 2,901
80 votes
11 answers
90k views

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: ...
terdon's user avatar
  • 253k
117 votes
4 answers
157k views

In a tutorial, I'm prompted "If you are running Squeeze, follow these instructions..." and "If you are running Wheezy, follow these other instructions..." When I run uname, I get the following ...
IQAndreas's user avatar
  • 10.7k
47 votes
3 answers
16k views

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: ...
Vangelis Tasoulas's user avatar
21 votes
5 answers
25k views

When I cat /etc/os-release I get the following: PRETTY_NAME="Kali GNU/Linux Rolling" NAME="Kali GNU/Linux" ID=kali VERSION="2018.1" VERSION_ID="2018.1" ID_LIKE=debian ANSI_COLOR="1;31" HOME_URL="http:...
Nicholas Adamou's user avatar
36 votes
6 answers
104k views

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 ...
DrAl's user avatar
  • 463
5 votes
4 answers
2k views

In bash I did the following. This if expression will evaluate to true if the Redhat version is 7.5 or 7.6. if [[ ` cat /etc/redhat-release | awk '{print $7}' ` == "7.5" ]] || [[ ` cat /etc/redhat-...
yael's user avatar
  • 14k
10 votes
2 answers
9k views

My os was installed from debian 8.5.0 amd64. Execute commands after installation. cat /etc/issue Debian GNU/Linux 8 \n \l No 8.5 here. cat /proc/version Linux version 3.16.0-4-amd64 (debian-kernel@...
showkey's user avatar
  • 601
12 votes
4 answers
1k views

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 /etc/...
inukaze's user avatar
  • 469
5 votes
3 answers
27k views

The skype website offers downloads for linux in 2 versions DEB and RPM. I don't know which one is right for my computer.
michael barnden's user avatar
0 votes
2 answers
5k views

I have host without dpkg so I need to install it. I followed the instructions from here and here. On both of these answers they wrote that I need to download the file: wget http://security.ubuntu.com/...
E235's user avatar
  • 393
0 votes
1 answer
2k views

I have written a bash script which is checking OS version and count for available security patches according to OS distribution. The query here is the script is not working for Ubuntu OS. The script ...
Santosh Garole's user avatar
0 votes
1 answer
2k views

I'm writing a shell script that should be able to be used with a variety of Linux distros. I want to see what base the distro is, without hardcoding everything (since there are hundreds of distros), ...
bobtho'-''s user avatar
  • 175
3 votes
1 answer
946 views

Assume a Linux Desktop Environment system is installed. When powered on and credentials entered, whatever Desktop Environment is started i would consider the default Desktop Environment. The user may ...
rjt's user avatar
  • 395
-2 votes
1 answer
841 views

I want to automate some installation process. For that, I need to know whether it is a DEB or RPM distribution, Im able to find some scripts for find the OS distribution. I need to write a script to ...
TheDataGuy's user avatar
1 vote
0 answers
71 views

On Bodhi linux, if I do this : . /etc/os-release echo $NAME the output is : "Ubuntu", this makes it extra hard to determine what is what for a script. and this will be important when calling apps ...
tatsu's user avatar
  • 306