In this section, We are going to learn how find which type of Ubuntu OS running in our machine ?
Funny guy......Why it is required?
Yes, It is important for us to use Ubuntu. Because, If you are planning to install software's in your machine, we get know what kind software it supports. like 32-bit/64 bit.
Guys , It's so simple to get to know, just we are far away to run one command execution in terminal.
Hmm. What is terminal?
It is a simple command prompt application called terminal.
Alright guys. Next step is how to open terminal....
Ubuntu supports GUI based menu to find terminal or we can use short cut keys directly to open terminal.
Shortcut Key : Ctrl+Alt+t
I hope, Now guys can see terminal window opened.
What Next? How to identify OS type?
Syntax: uname -a
Ex:
pthulasi@pthulasi-ThinkPad-R61:~$ uname -a
Result for 32-bit Ubuntu:
Linux pthulasi-ThinkPad-R61 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:32:08 UTC 2012 i686 i686 i686 GNU/Linux
whereas the 64-bit Ubuntu will show:
Linux pthulasi-ThinkPad-R61 3.5.0-17-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
or
Syntax: file /sbin/init
Ex: pthulasi@pthulasi-ThinkPad-R61:~$ file /sbin/init
Result for 32-bit Ubuntu:
/sbin/init: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x5f722891935c0f35fd8f318d4606b334a9b1d423, stripped
whereas for the 64-bit version it would look like:
/sbin/init: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped
please let me know your feedback and comments.
Happy learning- happy codding
0 comments :
Post a Comment