Home  >  Article  >  Operation and Maintenance  >  What is the command to display the current working directory in Linux?

What is the command to display the current working directory in Linux?

王林
王林Original
2020-05-25 15:21:2213235browse

What is the command to display the current working directory in Linux?

The command to display the current working directory in Linux is pwd.

The pwd command is used to display the working directory. Execute the pwd command to immediately know the absolute path name of your current working directory.

For example:

View the current working directory

# pwd
/root/test

Recommended tutorial: linux tutorial

The above is the detailed content of What is the command to display the current working directory 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