linux下常见文件名后缀和文件类型
Linux不使用文件扩展名来识别文件的类型。相反,Linux识别其类型根据文件头的内容。为了提高用户的可读性,Linux仍然可以使用文件扩展名,但这对Linux系统没有影响。然而,一些应用程序,如Web服务器,可以使用命名约定来识别文件类型,但这是一个特定的应用程序的要求而不是Linux系统本身的要求。Linux确定文件是由文件的访问权限的可执行文件,任何文件可以得到可执行权限。程序和脚本的创建者或管理员可以将它们标识为可执行文件,这有利于安全性,保存到系统中的可执行文件不能自动执行,从而可以防止许多脚本病毒。linux下常见文件名后缀和文件类型
1:系统文件
conf配置文件*。
* rpm rpm包
*存档文件
*锁定一种琐碎的文件
*备份文件
*。隐藏文件
2:程序或脚本
* C语言源程序文件
* .cpp C++语言源程序
*。H C或C++头文件
* o程序对象文件
* perl语言源程序
*。PHP语言源程序
* Tcl脚本编程
* .所以
* SQL SQL语言文件
3:格式文件
txt非格式化ASCII码文件
*静态静态网页
PS postscipt文件*。
*一个健全的文件
* wav声音文件
* XPM图像文件。
* PNG图形图像文件
4:存档和压缩文件
*焦油档案档案
* Z / /。广州rar压缩文件
*。焦油。广州 / /。TGZ。焦油。bz2 / TBZ是一个压缩的tar包。
挂载点的意义(挂载点)
If you want to make the Linux system normal, you must be ldquo; mount (Mount) ; Linux system.The directory can record the related information of the file name and the file data.In addition, the directory is also the entry point that can correspond to the file system, so the entry point directory is called a mount point.For example, when the FC6 is installed, the disk is divided into several parts, and the main / /home is set to the mount point of two partitions.Suppose / connect to /dev/hda1, and /home is connected to /dev/hda2, that is to say, all subdirectories in /home are /dev/hda2 partitioned data.