下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、練習(xí)一:1.2.3.4.-# cd /root十 mkdir vitestT# l書公共的 視無(wú) 文檔 音樂 vitest摸板 囲片下叢桌面# MANBIN# HANPATH# MANPATH MAPto be equal to the mandir and catl etc. subdirs).實(shí)驗(yàn)六vi文本編輯器上機(jī)實(shí)驗(yàn)容:請(qǐng)?jiān)?root這個(gè)目錄下建立一個(gè)名為vitest的目錄;rootglocalhost rootlocalho£t roQtlocalhost anaconda-ks.f+g installlog進(jìn)入vitest這個(gè)目錄當(dāng)中;roQtlocalhost -# c
2、d r./rdot/viteslrootlocalhost vitest# |將/etc/man.config 拷貝到本目錄底下;rootlocaLhost *# cd ,./root/vitestroot(3localhost vitest# 仁卩 /etc/man.config /root/坤itEStro0tlocalhost vitest# Isman.config使用vi開啟本目錄下的 man.config 這個(gè)檔案;# Generated automat!匚ally from man.conf * in by the# configure script.# man,conf fro
3、m man -1# For mo re 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 substrirglF to find out where the cat# 卩日gm呂 corresponding to given man pages should be stored,# and to ma
4、p each PATH element to a manpath element.# It may also record the pathname of the man binar/. This is unused.# The format is:pathnamemanpathelement correspondingcatdir path elementmanpath eLemenl:# If no catdir is given, it is assumed# (so that this dir has both manl etc.5.在vi中設(shè)定一下行號(hào);# This is the t
5、raditional Unix setup.95 TROFF/usr/bin/groff -Tps -mandoc96 NROFF/usr/bin/nroff -c -mandoc 2>/dev/null37 EQN/usr/bin/geqn-Tps98 NEON/usr/bin/geqn-Tutf899 TBL/usr/bln/gtbl10日 # COL/usr/bin/col1G1 REFER/usr/bin/grefer:se t numbe r6.移動(dòng)到第62行,向右移動(dòng) 40個(gè)字元?|:626;40 |61 * The below mappings are superfluou
6、s when the right hand side is62 # in the mandatoy nianpath already, butrill keep man from statting 孫 # lo仕 of othmr 口乜白rb、但1色£ mnd directories.7.移動(dòng)到第一行,并且向下搜尋一下teTeX這個(gè)字串?1 g2 # Generated autonatically from wan.conf.in by the3 # configure script,4 #5 # man,conf from nan-1.6f6 # For mo re infonat
7、io n about this file, see th 亡 man pages man( 1)8 # and man,conf(5)9 #10 # This file is read by man to configure thE default rnanpath (also used11 # when MANPATH contains an empty substring)r to find out where the cat12 # pages corresponding to given man pages should be stored,13 # and to map each P
8、ATH element to a manpath element.14 # It may also record the pathname of the man binary. This is unused.15 # The format is:16 #17 # MANBIN18 # HANPATH19 # MANPATH MAP20 #pathname21 # If no catdir is given, it is assumed22 # (so that this dir has both manl etc.2了 # Thi生 is theUnix setup.4B6:找不到摸式:teT
9、eXto be equal to the mandir and catl etc. subdirs).111頂端manpath eleirent corresponding catdir J pathelementmanpath element8. 接著下來(lái),我要將50到100行之間的 man改為MAN ,并且一個(gè)一個(gè)挑選是否需要修改?40 #41 # Every autorratically generated HAN PATH includes these fields42 #43 MANPATH /usr/ftan44 MANPATH /usr/share/rran45 MANPATH
10、/usr/iocal/|an46 NANPATH /usr/local/share/nar47 MANPAH /usr/XllR6/ian48 #49SB51525354555657585960# Uncomment if# MANPATH# MANPATH# MANPATH# MANPATHyou want to include one of these by default/opt/*/_ /usr/lib/*/| /usr/share/*/i /usr/kerberos/hi an# Set up PATH to MAhPATH mapping# If people ask for &q
11、uot;man fooh, and have "/Hiiybin/foci" in their PATH# and the docs are found in H/dir/|iai"rr then no mappinq is required.61 # The below niappings are superfluous when the right hand side is62 # in the (rarfdatory nafjpath already, but will keep man from slatting 瞽換為 JWJ (y/n/a/q/l/rt
12、E/AY) ? |9. 修改完之后,突然反悔了,要全部復(fù)原?44 KANP/TH /usr/shareman45 HANPATH /u$r/local/Bn4b MANPATH /jsr/local/share/an49 # Uncomment 1147 HANPATH /usr/XllR6<H| 40 #you want to inelude one of these by default51 # MAKPATH52 # MAhPATH* MASPATH54 # MANPATH55 #56 # Set up PATH/opt/MAN /u&r/lib/*/1AN /usr/sh
13、are嚴(yán)/MAN /usr/kerberos/MANto MANPATH mapping58 # If people ask for "MAN59 # and th亡are foundfoo" and have "/dir/bln/foo" in their PATH in 'Vdir/HAN"f then no mapping is 亡quired.60 *61 # The below niappings are superfluous when the right hand side is62 # in the MANdatory
14、MANpath already, but will ikeep MAN from statting63 # lots of other nearby files and directories.-64 #/usr/share/MAN /usr/share/65 MANPATH HAP/bln66 MANPATH MAP/sbin替換為 MAN (y/n/a/q/l/"E/AY) ? |44454b47484950515253545556575S59 fit)6162646566'lANPATH HANPATH HANPATH lANPATH # Uncomment/Lsr/s
15、hare/ran/isr/local/|an /iisr/local/share/usr/XllRfi/lanr MANPATH S MANPATH* MANPATH# MANPATHif you Afant to include one of these by default/opt/*/HAN /usr/lib/*/man /usr/share/j /usr/kerberos7to MAM PATH mapping# Set up PATH# If people ask for 'jian foe' cind have "/dir/bii/foo" in
16、 their path /dir/man then no mapping is required.# dnd the docs are found in# The below mappings are superfluous Vihen the righthand side is 排 in the井 Lots ot other#MANPATHMAPblANPATHMAP1 行發(fā)空改變;before #2 G0:47:22FMTdatory ia|path al re 白 dy, but will keepnearby tiles and directories.from statting/bi
17、n /sbin/usr/share/ /usr/share/52 J33%10.我要復(fù)制51到60行這十行的容,并且貼到最后一行之后;140 M141 -F/bin/zcat142143 #144 # Enable/disable makewhatis database cron updates.145 # If MAKEWHATISDBUPDATES variable is uncommented146 # and set to n or hl# cron scripts147 # /etc/cron,daily/makewhatis.cron148 # /etc/cron.weeklyma
18、kewhatis.cron149 # will not update nakewhatis database,150 # Otherwise the database will be updated.151 #15215315415515615715B159160161162#MAKEWHATISDBUPDATESn/opt/*/man /usr/lib/*/ /usr/share/*/# MANPATH# MANPATH# MANPATH# MANPATH/usr/kerberos/# Set up PATHto MAhlPATlH mapping# If people ask for &q
19、uot;|an foo" and have "/dir/bin/foo' in their PATH# and the docs are found in M/dir/_"(then no mapping is required多了側(cè)行162.1底端11.刪除11到30行之間的20 行;# Generated automatically from nian|xConf.in by the# confiqure script.conf frofn8310111213141516# For more information about this file, s
20、ee# and man.conf(5),#This file is read by 帕n to configure the Q Explicitly given catdirs override.thedefaultpages nan(l)# FSSTNDFHS# This file is also read by iirai in order lofind how to call nroffF less, et1718192021/usr/lacal/bin/man少2。行na血端# anH to determine the correspondence between extensions
21、 and decompressors.# HANBIN# Every automatically generated MANPATH includes these fields#12. 將這個(gè)檔案另存成一個(gè)ma n.test.co nfig的檔名;1 #5 # manconf from nan|-l,6f6 #7 #8 #9 #10 #11 #12 #13 #-# Generated autonatically from conf .in by the 3 # configure script.conf(5).For(rore inf dpi 白 tion about this file, s
22、ee the mian pages man(l andFSSTNDThis file is read by msn to configure the default )ath (also used Explicitly given catdirs override.14 FHS15 #W # This file is also read by in order to fiid how to call nroff, less, et17 # and to determine the corresponH皂nc電 between extensions and decompressors.18 #1
23、9 # MANBIN/u$r/lacal/bin/|ian22 #21 # Every automatically generated MANPATH includes these fields22 #w mart.t雷t,config13. 去到第29行,并且刪除15個(gè)字符;29G之后,15x即可刪除15個(gè)字符1 #,conf,in by the2 # Generated automatically from3 # configure script*a #9 #19 #11 #12 #For more information about this filet see the and (nan
24、 ,conf(5).pages ran(1)This file is read by iman to configure the default pnoath (also used Explicitly qiven catdirs override.13 # FSSTND15 #iiTHTin order to find how to call mrofft less, et16 # This file is also read byJ17 # and to determine The correspondEn£E between extensions 白nd decampressors.18 #19 # hafjbinZusr/local/bin/20 #21 # Every automatically generateo MANPATH includes these field
溫馨提示
- 1. 本站所有資源如無(wú)特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 洛陽(yáng)文化旅游職業(yè)學(xué)院《體育法》2023-2024學(xué)年第一學(xué)期期末試卷
- 2024年植保無(wú)人機(jī)及其配件采購(gòu)合同
- 單位人員管理制度范例大全
- 地?zé)狃B(yǎng)殖基地施工合同
- 2024年快手電商合作合同樣本版B版
- 商業(yè)街區(qū)巡邏保安協(xié)議
- 大型度假村建設(shè)施工管理承包合同
- 臨時(shí)健身房租賃與教練服務(wù)合同
- 2025運(yùn)輸保險(xiǎn)合同范本
- 消防栓檢查與維護(hù)手冊(cè)
- 讀了蕭平實(shí)導(dǎo)師的《念佛三昧修學(xué)次第》才知道原來(lái)念佛門中有微妙法
- 周邊傳動(dòng)濃縮刮泥機(jī)檢驗(yàn)報(bào)告(ZBG型)(完整版)
- 紙箱理論抗壓強(qiáng)度、邊壓強(qiáng)度、耐破強(qiáng)度的計(jì)算
- 土地增值稅清算審核指南
- 死亡通知書模板
- 鷸蚌相爭(zhēng)課件
- PMC(計(jì)劃物控)面試經(jīng)典筆試試卷及答案
- 失業(yè)保險(xiǎn)金申領(lǐng)表_11979
- 《質(zhì)量管理體系文件》風(fēng)險(xiǎn)和機(jī)遇評(píng)估分析表
- 食品安全約談通知書
- 舒爾特方格A4直接打印版
評(píng)論
0/150
提交評(píng)論