Role: View file type information
Format: File[options ...] [FILE ...]
Main parameters:
--HELP Display Help information
-V,--version output information and exit
-B,--Brief does not display the file name
-F,--Files-fromfile displays the type of the specified file (you can specify multiple "" separate)
-F,--seperatorstring uses a string as a delimiter and no longer uses ":"
-I,--MIME display file MIME type
--mime-type
--mime-encoding
-L,--dereference displays the file information that the symbolic link points to
-H,--no-dereference
-d,--Debug output debugging Information
Example:
View all file information under current path
File *
Do not display file names
File--brief 1.txt
Show file MIME type
File--mime 1.txt
Display the file information listed in the Name list
File-f 1.txt
Show the type that the symbolic link points to
File-l 1.txt
Display Help information
File--help
Display version Information
File--version
One Linux command per day (2): File command