Re: [OCLUG-Tech] what is the "uname" variation that shows a 32-bit install on 64-bit system?

2011-05-08 Thread Bart Trojanowski
2011/5/9 Peter Sjöberg > > > On 05/06/2011 02:49 PM, Bart Trojanowski wrote: > > On Fri, May 6, 2011 at 18:24, Richard Guy Briggs wrote: > > > >> Not quite what you intended, but how about: > >>        file $(which uname) > >> > > I often do exactly this with '/bin/ls' to test the OS bitness. > >

Re: [OCLUG-Tech] what is the "uname" variation that shows a 32-bit install on 64-bit system?

2011-05-08 Thread Peter Sjöberg
On 05/06/2011 02:49 PM, Bart Trojanowski wrote: > On Fri, May 6, 2011 at 18:24, Richard Guy Briggs wrote: > >> Not quite what you intended, but how about: >>file $(which uname) >> > I often do exactly this with '/bin/ls' to test the OS bitness. > > Another alternative is to use gcc -dump