Visit Our UNIX and Linux User Community


uname too vague?

 
Thread Tools Search this Thread
Operating Systems Linux Fedora uname too vague?
# 1  
Old 02-11-2011
uname too vague?

Hi all,

I am ssh'ed into a cluster and want to install a package. However, I don't know which type to chose (CentOS, Fedora, OpenSuSE are some of the options).

I ran called uname with various arguments but none are specific...

$ uname -n
resolute.research...
$ uname -i
x86_64
$ uname -s
Linux

Smilie

*I guess for the time being I can download an compiled version and compile it myself, however it would still be handy to know the correct command...

Last edited by neurorad; 02-11-2011 at 01:54 PM.. Reason: after thought
# 2  
Old 02-11-2011
Code:
uname -a

This User Gave Thanks to methyl For This Post:
# 3  
Old 02-11-2011
Thanks methyl.

That gave me

Linux resolute.research... el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux

So GNU/Linux then, it shouldn't matter which I chose?:

CentOS4
FC4
FC5
OpenSuSE
CentOS5
Fedora 6 through 10
?
# 4  
Old 02-11-2011
Fairly portable:

cat /etc/*elease
# 5  
Old 02-12-2011
Probably Oracle Enterprise Linux 5 - which is a rebadge of RHEL
# 6  
Old 02-16-2011
You could try (has worked on a handful of linux machines I've used)

cat /etc/release

or

cat /proc/version
# 7  
Old 02-16-2011
thank you all, those tips have done the trick!

Previous Thread | Next Thread
Test Your Knowledge in Computers #886
Difficulty: Medium
Phishing is the attempt to acquire sensitive information such as usernames, passwords, and credit card details directly from users by installing backdoors to operating systems.
True or False?

8 More Discussions You Might Find Interesting

1. Linux

Difference between UNAME and WHO

Hi, What is the exact output tells me when i issued UNAME and WHO ? Regards, Nantha.Y (2 Replies)
Discussion started by: Nandy
2 Replies

2. Solaris

uname -a

bssmsrv223:/ 53 ] uname -a SunOS bssmsrv223 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-V245 bssmsrv223:/ 54 ] what does 118833-36 denotes in Generic_118833-36 (2 Replies)
Discussion started by: hiten.r.chauhan
2 Replies

3. UNIX for Dummies Questions & Answers

uname -a output

Can anyone please let me know the meaning of output of uname -a ? I am totally new to unix or linux and just thinking to start learning. When I run uname -a the output I get is - "Linux blx28ap01 2.6.18-238.12.1.el5 #1 SMP Sat May 7 20:18:50 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux" I want to... (7 Replies)
Discussion started by: csrohit
7 Replies

4. UNIX for Advanced & Expert Users

tr command with uname -n

Using the command : echo $eup_terminal_code | tr -s 'mil vrn qcm' 'mci pql qcm' it works,but this translation changes depending on the system. I'd like to define the following variables ,one for each system : mil22h_from='mil vrn frl' mil22h_to='mci vci fci' ... (4 Replies)
Discussion started by: Pierluigi.sala
4 Replies

5. UNIX for Dummies Questions & Answers

Uname command

Hi, Can anyone let me know the -n option in uname command in unix? Gone through the man pages of uname, but unable to interpret. Thanks in advance. (1 Reply)
Discussion started by: venkatesht
1 Replies

6. Solaris

uname help

hi all, Operating System Name : Unix Sun Solaris Operating system release level : 5.10 Operating system version : Generic_137111-06 i know the release level that is kernel version Generic_137111-06 what is number... (6 Replies)
Discussion started by: coxmanchester
6 Replies

7. Linux

Uname

what is the difference between uname -m and uname -i what it actually means (2 Replies)
Discussion started by: Dileepsp
2 Replies

8. AIX

uname -S

hi , i have made a mistake :( on the production enviourment by change tha host name . after that i returned back the old name. but i think this will not afeect the system until reboot the machine. laso i tried to telnet the syetem by the host name not by the IP address and it works fine. ... (2 Replies)
Discussion started by: habuzahra
2 Replies

Featured Tech Videos