Finding 32-bit binaries

Carrion Crow crow at crowsnest.tk
Thu Dec 18 13:14:09 UTC 2014


Hi,

Maybe try something like this:

for DIR in /bin /sbin /usr/local/bin /usr/local/sbin; do for BIN in $DIR/*; do file $BIN; done | grep '32-bit'; done

-- 
Carrion Crow

-----------------
"UNIX is basically a simple operating system, 
but you have to be a genius to understand the simplicity."
                                         -- Dennis Ritchie


More information about the freebsd-questions mailing list