File

FILE(1) - General Commands Manual

Magic, File

FILE(1) - General Commands Manual # FILE(1) - General Commands Manual NAME # file - determine file type SYNOPSIS # file [-bchiLsW] file … DESCRIPTION # The file utility tests each argument and attempts to determine its type. Three sets of tests are performed: Filesystem tests, for example if a file is empty, or a special file such as a socket or named pipe (FIFO). “Magic” tests for data in particular fixed formats. ...

MAGIC(5) - File Formats Manual

File, Magic

MAGIC(5) - File Formats Manual # MAGIC(5) - File Formats Manual NAME # magic - file command’s magic pattern file DESCRIPTION # This manual page documents the format of the magic file as used by the file(1) command. file(1) identifies the type of a file using, among other tests, a test for whether the file contains certain “magic patterns”. The file /etc/magic specifies what magic numbers are to be tested for, what message to print if a particular magic number is found, and additional information to extract from the file. ...

STAT(1) - General Commands Manual

Ls, File, Lstat, Printf, Readlink, Strftime, Stat

STAT(1) - General Commands Manual # STAT(1) - General Commands Manual NAME # stat - display file status SYNOPSIS # stat [-FLnq] [-f format | -l | -r | -s | -x] [-t timefmt] [file …] DESCRIPTION # The stat utility displays information about the file pointed to by file. Read, write, or execute permissions of the named file are not required, but all directories listed in the pathname leading to the file must be searchable. ...