File type inspector,

I have this query to print all the file by the name “cybspawn.bin”

pathnames of find files “cybspawn.bin” of (descendant folders of folder “/opt”)


Any way to get the “file type” also. e.g if its 32 or 64bit. I am not sure if there is any inspector for that.


$ file /opt/CA/WA_Agent/CA7/cybAgent.bin
/opt/CA/WA_Agent/CA7/cybAgent.bin: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.0, not stripped

1 Like

I don’t think we have an inspector returning the same info of the linux “file” command. However you can use BigFix to run the command, and export the output in a file, then read the output using the string inspectors. Something like:

wait /usr/bin/file /opt/CA/WA_Agent/CA7/cybAgent.bin > /path/filetype.txt"

Then use the string inspector to parse the output file and create a property.