Home  >  Article  >  Operation and Maintenance  >  What does "." (dot) stand for in linux

What does "." (dot) stand for in linux

王林
王林Original
2019-12-04 11:24:584591browse

What does

“.”(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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn