vi編輯器高級用法上機練習.ppt_第1頁
vi編輯器高級用法上機練習.ppt_第2頁
vi編輯器高級用法上機練習.ppt_第3頁
vi編輯器高級用法上機練習.ppt_第4頁
vi編輯器高級用法上機練習.ppt_第5頁
已閱讀5頁,還剩5頁未讀 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領

文檔簡介

1、1,UNIX上機練習(3) vi編輯器的高級用法,創(chuàng)建garden文件,練習使用本章討論的編輯鍵。文件內(nèi)容如屏幕1所示。 然后使用剪貼和粘貼、光標定位和其他命令使它如屏幕2所示。 最后,在garden文件上執(zhí)行下列命令。,2,屏幕1,Everywhere the trend is toward a simpler, and easy to care garden. Few advises might help you to have less trouble with your gardening. I am sure you have heard them before, but liste

2、n once more. Gardening: The easy approach visit the plant nurseries, it is good for your soul. Let me tell you that There is no easy to care garden. Use plants that are suitable for your climate. Native plants are good CHOICE. Before planting, choose the right site. Use your imagination, plants grow

3、 faster than what you think. Gardening can be made easier and more enjoyable if you hire a gardener to do the job. Use mulches to reduce weeds and save time in watering the plants. Do not use too much chemicals to kill every weed insight. You are the only one who sees the weeds, let them grow. They

4、keep the moisture and prevent soil erosion.,3,屏幕2,Gardening: The easy approach Everywhere the trend is toward making simpler and easier-to-care-for gardens. However, let me tell you that there are no easy-to-care-for gardens. Gardening can be made easier and more enjoyable if you hire a gardener to

5、do the job. Some advice might help you to have less trouble with your gardening. I am sure you have heard it before, but listen once more: 1. Before planting, choose the right site. Use your imagination, plants grow faster than what you think. 2. Visit the plant nurseries; it is good for your soul.

6、3. Use mulch to reduce weeds and save time in watering. 4. Use plants that are suitable for your climate. Native plants are a good choice. 5. Do not use too much chemicals to kill every weed insight. You are probably the only one who sees the weeds. Let them grow. They keep the moisture and prevent

7、soil erosion.,4,在garden文件上執(zhí)行下列命令,1.撤銷前面的文本修改操作 2.在vi中列出用戶當前目錄下的文件 3.讀日期和時間并將它放到garden文件中用戶名之后 4.讀另一個文件(打開它),加到garden文件后。 5.用另一個名字保存文件,5,在garden文件上執(zhí)行下列命令,6.設置行號選項 7.將光標移到文件尾 8.將光標移到文件頭 9.將光標移到第10行 10.搜索字weds 11.取消行號選項,6,在garden文件上執(zhí)行下列命令,12.刪除5行,觀察vi的反饋信息。使用U撤銷刪除操作。 13.從文件頭復制5行到文件尾,觀察vi的反饋信息。使用U撤銷最后一次編輯。 14.使用翻頁鍵、Ctrl-d鍵、Ctrl-u鍵等,觀察結果。 15. 在vi中復制當前文件的5行

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論