& Amp; 65279; & amp; 65279; role: View file type information & amp; 26684; formula: FILE [OPTIONS] [file] main parameters: -- help displays the help information-v, -- version outputs the version information and exits-B. -- brief does not display the file name-f, -- files-fromFILE too many
Purpose:
View file type information
Format:
File [OPTIONS...] [FILE...]
Main parameters:
-- Help
Show Help information
-V, -- version
Output version information and exit
-B, -- brief
File name not displayed
-F, -- files-fromFILE
Read the name file to be tested
-F, -- seperatorSTRING
Use a string as the separator and no longer use ":"
-I, -- mime
Displays the mime type of a file.
-- Mime-type
-- Mime-encoding
-L, -- dereference
Displays the file information pointed to by the symbolic link.
-H, -- no-dereference
-D, -- debug
Output debugging information
Example:
View all file information in the current path
File *
File name not displayed
File -- brief 1.txt
Show file mime type
File -- mime 1.txt
Displays information about the objects listed in the name list.
File -f1.txt
Display the type pointed to by the symbolic link
File -L1.txt
Show Help information
File -- help
Show version information
File -- version