zhy2111314 发表于 2004-11-5 13:05:30

luronghui:
    还有我发现直接用man command命令与man command|less的显示效果相同!唯一不同的是前者q退出后在console里没有记录显示,而后者q退出后在console终端里有记录显示,还有我每次q退出时都会显示:
man: 没有那个文件或目录
Failed to open the message catalog man on the path NLSPATH=<none>

Error executing formatting or display command.
System command (cd /usr/share/man && (echo ".pl 11i"; /usr/bin/gunzip -c '/usr/share/man/man1/telnet.1.gz') | /usr/bin/gtbl | /usr/bin/nroff -c -mandoc | /usr/bin/less -isr) exited with status 36096.
No manual entry for telnet

这是什么意思呢??

:cry::cry::cry:

zhy2111314 发表于 2004-11-6 17:44:00

有没有人帮忙?

dannycat 发表于 2004-11-6 18:46:24

man 在显示的时候本来就是调用的 less 。

你再用管道定向就会出错了。

zhy2111314 发表于 2004-11-8 08:49:45

man 在显示的时候本来就是调用的 less 。

你再用管道定向就会出错了。管道定向?
什么意思?
按q退去就是管道定向,那应该怎么退出才算合法啊?

doublex 发表于 2004-11-8 19:01:39

|叫做管道操作符,用于把一个命令的输出送给另一个命令作为其输入
建议楼主看一下|的介绍

zhy2111314 发表于 2004-11-9 09:14:32

very thanks for all of you!
页: 1 [2]
查看完整版本: shell命令的简单问题!!!sos