使用实用程序文件,示例用法:
原文链接:https://www.f2er.com/bash/386991.html$file /bin/bash /bin/bash: Mach-O universal binary with 2 architectures /bin/bash (for architecture x86_64): Mach-O 64-bit executable x86_64 /bin/bash (for architecture i386): Mach-O executable i386 $file /etc/passwd /etc/passwd: ASCII English text $file code.c code.c: ASCII c program text