tag:blogger.com,1999:blog-6752719756197775967.post6528530550673797988..comments2023-05-15T11:15:08.512+01:00Comments on Cross Logbook: HOWTO: Find which Debian or ubuntu Linux Version you are runningUK Crosshttp://www.blogger.com/profile/01752347149524960832noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-6752719756197775967.post-24531429205790944572011-06-03T14:52:11.571+01:002011-06-03T14:52:11.571+01:00In the command ...
sudo lshw | grep "descript...In the command ...<br />sudo lshw | grep "description: CPU" -A 12 | grep width<br />... the quotation marks have to be vertical so it works.<br /><br />Probably they have been converted again in typographic ones. I hope they appear well now (I’m using the HTML code for them: ampersand number sign 34 semicolon):<br />sudo lshw | grep "description: CPU" -A 12 | grep widthAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6752719756197775967.post-37446763308690866942011-05-06T11:56:14.065+01:002011-05-06T11:56:14.065+01:00Another way to know if the installed Ubuntu is of ...Another way to know if the installed Ubuntu is of 32 or 64 bits:<br />getconf LONG_BITAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6752719756197775967.post-6376195728809562072011-05-06T11:17:32.126+01:002011-05-06T11:17:32.126+01:00Thanks.
To know if the installed Ubuntu is of 32 ...Thanks.<br /><br />To know if the installed Ubuntu is of 32 or 64 bits:<br />uname -m<br />If it shows i686 or i386 it means 32 bits.<br />If it shows x86_64 it means 64 bits.<br /><br />If the CPU is of 32 bits Ubuntu must be of 32 bits.<br />If the CPU is of 64 bits it can work in 64 or 32 bits. So we can choose: Ubuntu can be of 32 bits or of 64 bits.<br /><br />To know if the CPU is of 32 or 64 bits:<br />a) grep -w lm /proc/cpuinfo<br />If we see lm in red is of 64 bits. Otherwise is of 32 bits.<br />b) sudo lshw | grep “description: CPU” -A 12 | grep width<br />It says clearly what we want to know.Anonymousnoreply@blogger.com