grep

print lines matching a pattern

Check if your computer is 32 or 64bit

if you see "lm" in the out put your computer is 64bit
copy
13
0
Check if your computer is 32 or 64bitgrep --color=always -iw lm /proc/cpuinfoif you see "lm" in the out put your computer is 64bit

5 years, 6 months ago gitweb 0 |

Result:

flags		: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dts
flags		: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dts

Options: