To learn more about file access modes, see File and Directory Access Modes . The name of each file must be unique within the directory where it is stored. This ensures that the file also has a unique path name in the file system. The operating system is case-sensitive, which means it distinguishes between uppercase and lowercase letters in file names. File names should be as descriptive and meaningful as possible.
Directories follow the same naming conventions as files.
Certain characters have special meaning to the operating system and should be avoided when naming files. A file name is hidden from a normal directory listing if it begins with a . When the li or ls command is entered with the -a flag, the hidden files are listed along with regular files and directories. The path name for each file and directory in the file system consists of the names of every directory that precedes it in the tree structure. Notice that there are two files named g .