pwd

打印工作目录(shell内置)

语法

  pwd [-LP]

选项

  -P  : 打印的路径名不包含符号链接
  -L  : 打印的路径名可以包含符号链接

默认操作是将当前文件夹显示为绝对路径。
路径的所有组件都是实际的文件夹名称 - none都不是符号链接

实例

$ pwd

pwd 命令实例:

linux命令:pwd pwd pwdrootopen.com
linux命令:pwd pwd pwdrootopen.com
2018-09-11 09:55:30

linux命令:pwd pwd pwdrootopen.com
linux命令:pwd pwd pwdrootopen.com
2018-05-27 17:05:48

linux命令:pwdx pid pid pwdx pwdx pidrootopen.com
linux命令:pwdx pid pid pwdx pwdx pidrootopen.com
2018-03-04 20:51:48

linux命令:pwdadm -f ADMCHG [user] [user] ADMCHG -f pwdadm pwdadm -f ADMCHG [user]rootopen.com
linux命令:pwdadm -f ADMCHG [user] [user] ADMCHG -f pwdadm pwdadm -f ADMCHG [user]rootopen.com
2018-05-31 03:14:48

linux命令:pwd | tr -d '\n' | xsel -b -b xsel | '\n' -d tr | pwd pwd | tr -d '\n' | xsel -brootopen.com
linux命令:pwd | tr -d '\n' | xsel -b -b xsel | '\n' -d tr | pwd pwd | tr -d '\n' | xsel -brootopen.com
2018-04-13 15:24:48

linux命令:pwd | xclip xclip | pwd pwd | xcliprootopen.com
linux命令:pwd | xclip xclip | pwd pwd | xcliprootopen.com
2017-12-29 08:35:48

linux命令:pwdx $(pgrep command) command) $(pgrep pwdx pwdx $(pgrep command)rootopen.com
linux命令:pwdx $(pgrep command) command) $(pgrep pwdx pwdx $(pgrep command)rootopen.com
2018-05-28 01:18:48

linux命令:pwd|grep -o '/'|perl -ne '$x.="./.";print`readlink -f $x`'|xargs -tn1 chmod 755 755 chmod -tn1 $x`'|xargs -f '$x.="./.";print`readlink -ne '/'|perl -o pwd|grep pwd|grep -o '/'|perl -ne '$x.="./.";print`readlink -f $x`'|xargs -tn1 chmod 755rootopen.com
linux命令:pwd|grep -o '/'|perl -ne '$x.="./.";print`readlink -f $x`'|xargs -tn1 chmod 755 755 chmod -tn1 $x`'|xargs -f '$x.="./.";print`readlink -ne '/'|perl -o pwd|grep pwd|grep -o '/'|perl -ne '$x.="./.";print`readlink -f $x`'|xargs -tn1 chmod 755rootopen.com
2018-02-07 19:20:48

linux命令:pwd pwd pwdrootopen.com
linux命令:pwd pwd pwdrootopen.com
2018-01-14 00:51:48

Linux的Bash命令行(A-Z排序)