Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the common file types in Linux

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail what common file types are in Linux, and the content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.

System file

File extension

Description

.conf

A configuration file. Configuration files sometimes use .cfg

.lock

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

.rpm

The package manager file that RedHat uses to install the software

Programming and script files

File extension

Description

.c

The source file of C programming language

.cpp

The source file of C++ program language

.h

The header file of C or C++ programming language

.o

The object file of the program

.pl

Perl script

.py

Python script

.so

Library file

.sh

Shell script

.java

Java program source code file

.lcss

Intermediate code file after compilation of Java program source code

.tcl

TCL script

Common media files

File extension

Description

.au

Audio file

.gif

GIF image file

.swf

Flash animation file

.html / htm

HTML file

.xml

XML file

.bmp

Bitmap file

.jpg

JPEG image file

.pdf

Electronic image of the document; PDF stands for Portable Document Format (Portable document format)

.png

PNG image file (Portable Network Graphic, portable network graphics)

.ps

PostScript files, files formatted for printing

.wav

Audio file

.xpm

Image file

Conclusion

File extensions are not always won or used consistently. What if a file does not have an extension or does not match its extension? At this point, the file command will help. For example, a file called ins is found in the / root directory, which has no extension. You can use the file command to determine the type of the file, such as:

# file / root/ins

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

About which common file types in Linux are shared here, I hope the above content can be of some help to you and learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report