首页 > 代码库 > Linux每日一命令--Day2 pwd

Linux每日一命令--Day2 pwd

pwd

命令

     pwd


功能

     printname of current/working directory.

     Printthe full filename of the current working directory.

     查看当前目录的完整路径


格式

     pwd[OPTION]...

     pwd [选项]


参数

     -L,--logical

           usePWD from environment, even if it contains symlinks

           与-P参数相反,显示逻辑路径

     -P,--physical

           avoidall symlinks

           显示出实际路径,而非使用链接(link)路径

     --help

           displaythis help and exit

           显示此帮助信息并离开

     --version

           outputversion information and exit

           显示版本信息并离开



备注,每个参数的举例以后补充


本文出自 “寂寞行走” 博客,谢绝转载!

Linux每日一命令--Day2 pwd