Quantcast SSH command for Linux version, 32-bit vs 64-bit, and RHEL release edition - digitalFAQ Forum
Go Back    Forum > Digital Publishing / Web Sites > Website and Server Troubleshooting

Reply
 
LinkBack Thread Tools
  #1  
01-10-2012, 02:41 AM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff | Web Hosting, Photo
 
Join Date: Feb 2004
Posts: 4,241
Thanked 354 Times in 332 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

- Did my advice help you? Then become a Premium Member and support this site.
- Please Like Us on Facebook | Follow Us on Twitter

- Need a good web host? Ask me for help! Get the shared, VPS, semi-dedicated, cloud, or reseller you need.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Service Manual for Sony SVP-5600P, SVO-5800P VCR [DOWNLOAD] juhok Video Hardware Repair 7 05-26-2016 01:48 PM
Dig missing? How to install Dig command for Linux in SSH kpmedia SSH for VPS/Dedicated (CLI) 0 07-25-2011 05:22 AM
Solved: Locate command not working in Linux SSH, "No such file or directory" kpmedia SSH for VPS/Dedicated (CLI) 1 07-25-2011 04:30 AM
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 08:44 AM