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.
> >
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