[XiYouLinux] shell内部命令怎么查看帮助

5 views
Skip to first unread message

潘多

unread,
Apr 25, 2010, 7:23:50 AM4/25/10
to 西邮Linux兴趣小组
最近发现一些shell的内部命令没有man手册,像export, exec,eval等,如果以后用到却又忘记了具体用法的时候应该怎么办? google?

--
要退订此论坛请发邮件至 xiyoulinux-...@googlegroups.com
更多选项: http://groups.google.com/group/xiyoulinux?hl=zh-CN
提问前建议您阅读:http://www.xiyoulinux.cn/blog/?p=64
也请查看我们的FAQ:http://xiyoulinux.cn/wiki/index.php?title=FAQ

Amos Kong

unread,
Apr 25, 2010, 8:15:34 AM4/25/10
to 潘多, 西邮Linux兴趣小组
2010/4/25 潘多 <duo...@gmail.com>:

> 最近发现一些shell的内部命令没有man手册,像export, exec,eval等,如果以后用到却又忘记了具体用法的时候应该怎么办? google?

是你没有装齐吧,我的系统都可以查看man帮助
--
$ whereis export
export: /usr/share/man/man1/export.1posix.gz
$ whereis exec
exec: /usr/share/man/man1/exec.1posix.gz /usr/share/man/man3/exec.3.gz
/usr/share/man/man3/exec.3posix.gz
$ whereis eval
eval: /usr/share/man/man1/eval.1posix.g

刘周平

unread,
Apr 25, 2010, 8:26:37 AM4/25/10
to Amos Kong, 潘多, 西邮Linux兴趣小组
在 2010年4月25日 下午8:15,Amos Kong <kongj...@gmail.com>写道:
2010/4/25 潘多 <duo...@gmail.com>:
> 最近发现一些shell的内部命令没有man手册,像export, exec,eval等,如果以后用到却又忘记了具体用法的时候应该怎么办? google?
一般都有man手册,如果没有你要手动安装manpage之类的包,Ubuntu下你可以安装这些包:
http://blog.chinaunix.net/u2/73525/showart_2021336.html

是你没有装齐吧,我的系统都可以查看man帮助
--
$ whereis export
export: /usr/share/man/man1/export.1posix.gz
$ whereis exec
exec: /usr/share/man/man1/exec.1posix.gz /usr/share/man/man3/exec.3.gz
/usr/share/man/man3/exec.3posix.gz
$ whereis eval
eval: /usr/share/man/man1/eval.1posix.g

--
要退订此论坛请发邮件至 xiyoulinux-...@googlegroups.com
更多选项: http://groups.google.com/group/xiyoulinux?hl=zh-CN
提问前建议您阅读:http://www.xiyoulinux.cn/blog/?p=64
也请查看我们的FAQ:http://xiyoulinux.cn/wiki/index.php?title=FAQ

孟阿龙

unread,
Apr 25, 2010, 8:37:02 AM4/25/10
to 刘周平, Amos Kong, 潘多, 西邮Linux兴趣小组
我现在装的时下面的包,可以看到。
manpages-posix
manpages-posix-dev
manpages-dev
manpages-de
manpages-de-dev

潘多

unread,
Apr 25, 2010, 8:41:39 AM4/25/10
to 孟阿龙, 刘周平, Amos Kong, 西邮Linux兴趣小组


了解了 ,  shangkiu!

monan

unread,
Apr 25, 2010, 7:58:50 AM4/25/10
to 潘多, 西邮Linux兴趣小组
于 2010年04月25日 19:23, 潘多 写道:
> 最近发现一些shell的内部命令没有man手册,像export, exec,eval等,如果

> 以后用到却又忘记了具体用法的时候应该怎么办? google?
> --
> 要退订此论坛请发邮件至 xiyoulinux-...@googlegroups.com
> 更多选项: http://groups.google.com/group/xiyoulinux?hl=zh-CN
> 提问前建议您阅读:http://www.xiyoulinux.cn/blog/?p=64
> 也请查看我们的FAQ:http://xiyoulinux.cn/wiki/index.php?title=FAQ
有啊,谁说没有的

SUN

unread,
Apr 26, 2010, 1:31:39 AM4/26/10
to monan, linux小组论坛
我直接来了个 sudo apt-get install manpages* 所有都搞定了……
自强不息,厚德载物,天道酬勤,求实奋进……

冯立强

unread,
Apr 27, 2010, 9:14:54 AM4/27/10
to SUN, monan, linux小组论坛
在 2010年4月26日 下午1:31,SUN <sunjian...@gmail.com>写道:
我直接来了个 sudo apt-get install manpages* 所有都搞定了……
自强不息,厚德载物,天道酬勤,求实奋进……


呵呵,确实方便 



--
需求决定价值………………
个人网站:http://skyfeng.org

bryan.yang

unread,
Apr 28, 2010, 1:25:34 AM4/28/10
to 冯立强, SUN, monan, linux小组论坛
man binutils ?

--
Sent from my mobile device

Reply all
Reply to author
Forward
0 new messages