linux file type code example Example 1: linux see file system type fsck -N /dev/sd** Example 2: how to get file type in linux file <filename>