Quantcast SSH command for Linux version, 32-bit vs 64-bit, and RHEL release edition - digitalFAQ.com Support Forum
Go Back   digitalFAQ.com Support Forum > Digital Publishing / Web Design > Web/Print Publishing Technology

Reply
LinkBack Thread Tools
  #1  
01-10-2012, 02:41 AM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff / Owner and Editor
 
Join Date: Oct 2009
Posts: 1,306
Thanks: 84
Thanked 138 Times in 132 Posts
Which version of Linux?

To learn which Linux OS you're running, type this into SSH (and you may need to be logged in as root):
Code:
[vps@root ~]$ cat /proc/version
... and it'll spit out a quasi-jargon answer that needs further deciphering. For example:
Code:
Linux version 2.6.9-023stab051.3-entnosplit (root@rhel4-32) (gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Wed Nov 4 19:42:24 MSK 2009

Which version of an RHEL distribution? (Red Hat, CentOS, Scientific, Fedora, etc)

To learn which RHEL edition you're running, type this into SSH (and you may need to be logged in as root):
Code:
[vps@root ~]$cat /etc/redhat-release
... and it'll give out a straight non-jargon answer. For example:
Code:
CentOS release 5.6 (Final)

32-bit vs 64-bit command:

To discover if you have a 32-bit OS or 64-bit OS, type this into SSH (and you may need to be logged in as root):
Code:
[vps@root ~]$ uname -a
You'll get one of these results:
  • Linux domain.com version date x86_64 x86_64 x86_64 GNU/Linux = 64-bit
  • Linux domain.com version date ia64 ia64 ia64 GNU/Linux = 64-bit
  • Linux domain.com version date i686 i686 i386 GNU/Linux = 32-bit
Note that domain.com, version and date will correspondent to the hostname, Linux version, and date of release. But that information isn't really what you're looking for anyhow. You want the 32- or 64-bit data from the tail end of the response.


Hope that helps.

__________________

Need a good host?
Find one here --> List of the Best Web Hosts in 2012 - Shared, reseller and VPS hosting
__________________
- Thanks for visiting! | Advertise on The Digital FAQ | Upgrade to Premium Member
- Please Like Us on Facebook | Follow Us on Twitter
Reply With Quote


Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dig missing? How to install Dig command for Linux in SSH kpmedia Web/Print Publishing Technology 0 07-25-2011 05:22 AM
Solved: Locate command not working in Linux SSH, "No such file or directory" kpmedia Web/Print Publishing Technology 1 07-25-2011 04:30 AM
Service Manual for Sony SVP-5600P, SVO-5800P VCR (Vol 1., 1st Edition) [DOWNLOAD] juhok Restore, Filter, Improve Quality 0 12-23-2010 12:31 PM
Diskeeper Home edition 2-pack license, only $49.95 admin Computer Hardware, Software - Coupons, Sales and Deals 3 12-02-2009 08:58 PM
VCDEasy 1.1.5.2 freeware edition [DOWNLOAD] admin Author, Make Menus, Slideshows, Burn 0 11-05-2009 05:25 PM

Thread Tools



 
All times are GMT -5. The time now is 06:24 PM  —  vBulletin Copyright © 2011 Jelsoft Enterprises Ltd  —  SEO by vBSEO