{"id":13048,"date":"2023-03-24T01:50:12","date_gmt":"2023-03-24T05:50:12","guid":{"rendered":"http:\/\/local.brightwhiz\/?post_type=snippets&p=13048"},"modified":"2023-03-24T01:50:17","modified_gmt":"2023-03-24T05:50:17","slug":"check-if-machine-is-32bit-or-64bit-linux","status":"publish","type":"snippets","link":"http:\/\/local.brightwhiz\/snippets\/check-if-machine-is-32bit-or-64bit-linux\/","title":{"rendered":"Code to Check if Machine is 32bit or 64bit Linux"},"content":{"rendered":"\n
Do this to check if your Linux machine is 32bit or 64bit linux.<\/p>\n\n\n\n
Using uname:<\/p>\n\n\n\n
$ uname -m\n\n#Output if 32bit\ni686\n\n#Output if 64bit\nx86_64<\/code><\/pre>\n\n\n\nUsing lscpu:<\/p>\n\n\n\n
$ lscpu\n\n#Output if 32bit\nArchitecture: i686\n\n#Output if 64bit\nArchitecture: x86_64<\/code><\/pre>\n","protected":false},"comment_status":"open","ping_status":"closed","template":"","meta":[],"categories":[953,27,15,16],"tags":[121,183,193,354,433,544,573,598],"yoast_head":"\nHow to Check if Machine is 32bit or 64bit Linux<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n