pwd 命令详解 博客分类: Linux linuxOSUnixpwd查看当前目录
Linux -- pwd 查看当前目录操作
PWD(1) User Commands PWD(1)
NAME 名称
pwd - print name of current/working directory 显示当前工作目录
SYNOPSIS 大纲
pwd [OPTION]...
DESCRIPTION 说明
Print the full filename of the current working directory.
显示当前工作目录的详细目录信息。
-L, --logical
use PWD from environment, even if it contains symlinks
虽然包含符号连接,显示当前环境目录。
-P, --physical
avoid all symlinks
显示实际路径,而非符号连接。
--help display this help and exit
显示帮助信息并退出。
--version
output version information and exit
显示版本信息并退出。
NOTE: your shell may have its own version of pwd, which usually supersedes the version described here. Please refer to your shell's documentation for details about the options it supports.
NOTE: 你的shell可能有自己的pwd版本,通常取代这里描述的版本。有关详细信息,请参阅你的shell中关于它所支持选项的文档。
GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
Report pwd translation bugs to <http://translationproject.org/team/>
AUTHOR 作者
Written by Jim Meyering.
COPYRIGHT 版权
Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
getcwd(3)
The full documentation for pwd is maintained as a Texinfo manual. If the info and pwd programs are properly installed at your site, the command
info coreutils 'pwd invocation'
should give you access to the complete manual.
pwd的完整文档是以Texinfo手册形式维护的。如果info和pwd程序都已经安装,那么执行命令:
info coreutils 'pwd invocation'
应该会让你访问到整篇手册。
GNU coreutils 8.22 June 2014 PWD(1)
下一篇: 简单解决微信文章图片防盗链问题