选择频道搜索
在Linux中,要显示当前路径,可以使用以下命令:
pwd
$ pwd/home/user/Documents
echo $PWD
$ echo $PWD/home/user/Documents
这两个命令都可以用来显示当前路径。