> > > Jonathan Adams <t12nsloo...@gmail.com> writes: > > > Much better than the Linux "file 'which file'" (with back ticks) ... > > > > > sudo file `which file` > /usr/bin/file: ELF 32-bit LSB executable 80386 Version 1, dynamically > linked, not stripped, no debugging information available > > Er... looks like one of the techniques has got it wrong > > Or does something else explain this? > > On Illumos the "file" command is 32bit (as the kernel can run both 32 and 64 bit happily together), on Linux the above command is a sensible way of working out what bit kernel you're running as it's more of a PITA to run 32bit and 64 bit side by side (or so I believe) ...
On Linux: jadams@EID-4546:~$ file `which file` /usr/bin/file: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=ecc4d67cf433d0682a5b7f3a08befc45e7d18057, stripped _______________________________________________ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss