200字范文,内容丰富有趣,生活中的好帮手!
200字范文 > linux实验六vi文本编辑器 Linux-实验六-vi文本编辑器.docx

linux实验六vi文本编辑器 Linux-实验六-vi文本编辑器.docx

时间:2019-02-06 13:04:52

相关推荐

linux实验六vi文本编辑器 Linux-实验六-vi文本编辑器.docx

实验六Vi文本编辑器

上机实验容:

练习一:

请在/root这个目录下建立一个名为vitest的目录;

[root@localhost [root(aiocalhost [rooWlocalhost anaconda-ks.cfg install.log7# cd /root mkdir vitest

[root@localhost [root(aiocalhost [rooWlocalhost anaconda-ks.cfg install.log

7# cd /root mkdir vitest

T# Is

instdll.log.syslog

vitest

公共的 摸板

视频文档音乐 因片下載桌面

进入vitest这个目录当中:

[root@localhost ?]# cd ../root/vitest

[root(aiocalhost vitest]# |

将/etc/man.config拷贝到本目录底下:

[root(aiocalhost -]# cd . ./root/vitest

[root@localhost vitest]# cp /etc/man.config /root/vitest [root@localhost vitest]# Is

man.config

使用vi开启本目录下的man.config这个档案:

b

Generated automatically from man.conf.in by the

configure script.

#

man .conf from man?:L?6f

#

For more information about this file, see the man pages man(l)

and man.conf(5)?

#

This file is read by man to configure the default manpath (also used

when MANPATH contains an empty substring)f to find out where the cat

pages corresponding to given man pages should be stored,

and to map each PATH element to a manpath element.

It may also record the pathname of the man binary?[This is unused.]

The format is:

MANBINHANPATH

MANBIN

HANPATH

HANPATH MAP

#

manpath_element [corresponding catdi门 pathelement manpathelement

to be equal to the mandir and catl etc. subdirs).If no catdir is given. it is assumed

to be equal to the mandir and catl etc. subdirs).

(so that this dir has both maul etc.

This is the traditional Unix setup.

在vi中设泄一下行号;

95 TROFF

/usr/bin/groff -Tps ?mandoc

96 NROFF

/usr/bin/nroff -c -mandoc 2>/dev/null

97 EQN

/usr/bin/geqn -Tps

98 NEQN

/usr/bin/geqn -Tutf8

99 TBL

/usr/bin/gtbl

100 # COL

/usr/bin/col

101 REFER

/usr/bin/grefer

:set number

移动到第62行,向右移动40个字元?

|:62G;40 |

# The below mappings are superfluous when the right hand side is

# in the mandatory manpath already, butjwill keep man from statting ,63 # lots of other nearby files and directories?

移动到第一行,并且向下搜寻一下『teTeX J这个字串?

S

# 6enerated autonatically from man.conf.in by the

# configure script?

#

# man.conf from nan?1.6f

#

# For more infornatio

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。