Common file types in Linux

Source: Internet
Author: User
Tags perl script
Article Title: common file types in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

System Files

File Extension

Description

. Conf

A configuration file. The configuration file sometimes uses. cfg

. Lock

Lock file, used to determine whether a program or device is in use

. Rpm

Package Manager file used by RedHat to install software

Programming and script files

File Extension

Description

. C

Source code file of C Programming Language

. Cpp

C ++ source code file

. H

Header files in C or C ++ programming languages

. O

Program object file

. Pl

Perl script

. Py

Python script

. So

Library files

. Sh

Shell script

. Java

Java program source code file

. Lcss

Intermediate code file compiled by Java program source code

. Tcl

TCL script

Common media files

File Extension

Description

. Au

Audio files

. Gif

GIF image files

. Swf

Flash Animation files

. Html/htm

HTML file

. Xml

XML file

. Bmp

Bitmap files

. Jpg

JPEG Image File

. Pdf

The electronic image of the Document; PDF represents Portable Document Format (Portable Document Format)

. Png

Portable Network Graphic (Portable Network Graphics)

. Ps

PostScript files, formatted for Printing

. Wav

Audio files

. Xpm

Image files

Conclusion

File extensions are not always used completely or consistently. What if a file does not have an extension or does not match the extension? In this case, the file command will be helpful. For example, if you find a file named ins in the/root directory without an extension, you can use the file command to determine the file type, for example:

# File/root/ins

The command format is file + file path + file name.

Related Article

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.