


版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
1、練習一:1.2.3.4.-# cd /root十 mkdir vitestT# l書公共的 視無 文檔 音樂 vitest摸板 囲片下叢桌面# MANBIN# HANPATH# MANPATH MAPto be equal to the mandir and catl etc. subdirs).實驗六vi文本編輯器上機實驗容:請在/root這個目錄下建立一個名為vitest的目錄;rootglocalhost rootlocalho£t roQtlocalhost anaconda-ks.f+g installlog進入vitest這個目錄當中;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 這個檔案;# 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中設定一下行號;# 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.移動到第62行,向右移動 40個字元?|: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.移動到第一行,并且向下搜尋一下teTeX這個字串?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. 接著下來,我要將50到100行之間的 man改為MAN ,并且一個一個挑選是否需要修改?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. 修改完之后,突然反悔了,要全部復原?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嚴/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 行發空改變;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.我要復制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多了側行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. 將這個檔案另存成一個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個字符;29G之后,15x即可刪除15個字符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. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 《教學課件:時間控制機制》
- 環境規劃與管理課件第十二章中國環境政策和法規體系
- 2025年優化合同編寫技巧提升合同法律效力
- 《神經系統病變診治》課件
- 臨時圍擋施工協議書
- 拆墻加固合同協議
- 物資捐贈救援協議書
- 美發退款協議書范本
- 公司職位及管理制度
- 過境通行管理制度規定
- 2025年03月北京住房公積金管理中心(北京市住房資金管理中心)公開招聘8人筆試歷年參考題庫考點剖析附解題思路及答案詳解
- 百師聯盟2025屆高三一輪復習聯考(五)政治試題含答案
- 2025年四川長寧縣國恒資本控股集團有限公司招聘筆試參考題庫附帶答案詳解
- 2024年蕪湖城市園林集團股份有限公司招聘筆試真題
- 2025年全國普通話水平測試15套復習題庫及答案
- 2024年天津醫科大學眼科醫院自主招聘考試真題
- 土木工程畢業論文-居民住宅樓的施工組織方案設計
- 2025年河南對外經濟貿易職業學院單招職業適應性測試題庫新版
- 組織內的有效溝通報聯商
- 2025年肺心病的護理試題及答案
- 航空航天行業工程師求職簡歷
評論
0/150
提交評論