File naming rules
(1) All characters are legal except/
(2) Special characters such as @, #, ¥, &, () 、-、 spaces, etc. best not to use, when the use of space as a file name, the execution of the command error;
(3) Avoid using "." As the first character of the file name, because the "." is used in the Linux system. The file representing the beginning is hidden and the system is automatically hidden to "." The file to begin with;
(4) The Linux system is case-sensitive, so file naming is also case-sensitive;
(5) The Linux file suffix is meaningless, but for the convenience of identifying the suffix (. txt,. PHP, etc.), the suffix can be defined in most cases by separating the file from the directory;
(6) The file location is best set in the Linux dedicated directory, such as configuration files are mostly placed in/etc directory
(7) The naming of folders and files as far as possible together with its specific meaning.
(8) Three special directories, "." : Represents the current directory, "..." : Represents the previous level of directory, "/": Represents the root directory.
This article is from the "Lonely No Color" blog, please be sure to keep this source http://tenderness.blog.51cto.com/8855468/1960842
Linux file Naming conventions