title: Is it possible to detect 32 bit vs 64 bit in a bash script?
body: <p>I am writing a bash script to deal with some installations in an automated way... I have the possibility of getting one such program in 32 or 64 bit binary... is it possible to detect the machine architecture from bash so I can select the correct binary?</p>
  
  <p>This will be for Ubuntu machines.</p>