File for Linux Commands

Source: Internet
Author: User
& 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.