始,去找相关的说明,
然后,再以
lp[tab][tab]
找到任何以
lp
为开头的指令,找到我认为可能有点相关的指令后,
先以
--help
去查基本的用法,
若有需要再以
man
去查询指令的用法!呵呵!所以,如果是实际在管理
Linux
,
那么真的只要记得几个很重要的指令即可,其他需要的,嘿嘿!努力的找男人
(man)
吧!
4.3.3 info page
在所有的
Unix Like
系统当中,都可以利用
man
来查询指令或者是相关文件的用法;
但是,在
Linux
里面则又额外提供了一种在线求助的方法,那就是利用
info
这个好用的家伙啦!
基本上,
info
与
man
的用途其实差不多,都是用来查询指令的用法或者是文件的格式。但是与
man page
一口气输出一堆信息不同的是,
info page
则是½文件数据拆成一个一个的段落,每个段落用自己的页
面来撰写,
并且在各个页面中还有类似网页的『超链½』来跳到各不同的页面中,每个独立的页面
也被称为一个½点
(node)
。
所以,你可以½
info page
想成是文本模式的网页显示数据啦!
不过你要查询的目标数据的说明文件必须要以
info
的格式来写成才能够使用
info
的特殊功能
(
例如超
链½
)
。
而这个支持
info
指令的文件默认是放置在
/usr/share/info/
这个目录当中的。
举例来说,
info
这个指令的说明文件有写成
info
格式,所以,你使用『
info info
』可以得到如下的画面:
[dmtsai@study ~]$
info info
File: info.info,
Node
: Top,
Next
: Getting Started,
Up
: (dir)
Info: A
n Introduction
*********************
The GNU Project distributes most of its on
-
line manuals in the "Info
format", which you read using an "Info reader". You are probably using
an Info reader to read this now.
....(
中
间
省略
)....
If you are new to the Info reader and want to learn how to use it,
type the command
'h'
now. It brings you to a programmed instruction
sequence.
#
这
一段在
说
明,按下
h
可以有
简
易的指令
说
明!很好用!
....(
中
间
省略
)....
* Menu:
*
Getting Started:: Getting started using an Info reader.
*
Advanced:: Advanced Info commands.
*
Expert Info:: Info commands for experts.
*
Index:: An index of topics, commands, and variables.
--
zz
-
Info: (info.info.gz)Top, 52 lines
--
Bot
------------------------------------------