You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
510 B

5 years ago
# **pwd**
7 years ago
6 years ago
## 说明
7 years ago
5 years ago
**pwd命令** 以绝对路径的方式显示用户当前工作目录。命令将当前目录的全路径名称(从根目录)写入标准输出。全部目录使用`/`分
隔。第一个`/`表示根目录最后一个目录是当前目录。执行pwd命令可立刻得知您目前所在的工作目录的绝对路径名称
7 years ago
5 years ago
## 选项
7 years ago
5 years ago
```markdown
-L, --logical use PWD from environment, even if it contains symlinks
-P, --physical avoid all symlinks
7 years ago
```
5 years ago
## 实例
7 years ago
5 years ago
```bash
7 years ago
```