我想访问手册页以获取命令chmod
。
命令whatis chmod
给出了以下输出:
chmod (2) - change permissions of a file chmod (1) - change file mode bits
但是我实际上是在寻找chmod(2)
。
输入时man chmod
,将chmod(1)
出现的手册页。
双方man chmod(2)
并man 'chmod(2)'
命令显示错误。
我尝试运行info coreutils 'chmod invocation'
,但是输出的是某种文档,看起来不像典型的手册页。
输入:man 2 chmod
,或man -a chmod
获取所有版本。
注意:man -a chmod
在某些系统上可能很有用,因为同一功能上可能还有其他手册页,这些手册页可能会提供其他信息。例如,在Debian下,如果安装了manpages-posix-dev软件包,则还会有chmod(3posix)手册页,也可以通过来访问man 3 chmod
。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句