“.”(dot)
In the shell, users should all know that one dot represents the current directory and two dots represent the upper directory.
CDPATH=.:~:/home:/home/web:/var:/usr/local
In the upstream CDPATH setting, the dot after the equal sign represents the current directory.
Linux video tutorial recommendation: linux video tutorial
If the file name starts with dot, the file is a special file, and the -a option must be added to the ls command. will be displayed.
In addition, in regularexpression
, a dot represents matching one character.
Recommended related articles and tutorials: linux tutorial
The above is the detailed content of What does '.' (dot) stand for in linux. For more information, please follow other related articles on the PHP Chinese website!