Skip to content

Instantly share code, notes, and snippets.

@mortdeus
Created December 24, 2012 08:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mortdeus/4368338 to your computer and use it in GitHub Desktop.
Save mortdeus/4368338 to your computer and use it in GitHub Desktop.
EXAMPLES
$ file file.c file /dev/{wd0a,hda}
file.c: C program text
file: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
dynamically linked (uses shared libs), stripped
/dev/wd0a: block special (0/0)
/dev/hda: block special (3/0)
$ file -s /dev/wd0{b,d}
/dev/wd0b: data
/dev/wd0d: x86 boot sector
@mortdeus
Copy link
Author

file zsh
zsh: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=0x6cb9895827885b8c3bcebfb55ba7f51271c4688b, stripped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment