亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? rhl16.htm

?? linux的初學(xué)電子書
?? HTM
?? 第 1 頁 / 共 4 頁
字號:
<HTML>

<HEAD>

<TITLE>Red Hat Linux Unleashed rhl16.htm </TITLE>

<LINK REL="ToC" HREF="index-1.htm" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/index.htm">

<LINK REL="Index" HREF="htindex.htm" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/htindex.htm">

<LINK REL="Next" HREF="rhl17.htm" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/rhl17.htm">

<LINK REL="Previous" HREF="tppmsgs/msgs0.htm#16" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/rhl15.htm"></HEAD>

<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080">

<A NAME="I0"></A>

<H2>Red Hat Linux Unleashed rhl16.htm</H2>

<P ALIGN=LEFT>

<A HREF="tppmsgs/msgs0.htm#16" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/rhl15.htm" TARGET="_self"><IMG SRC="purprev.gif" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/purprev.gif" WIDTH = 32 HEIGHT = 32 BORDER = 0 ALT="Previous Page"></A>

<A HREF="index-1.htm" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/index.htm" TARGET="_self"><IMG SRC="purtoc.gif" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/purtoc.gif" WIDTH = 32 HEIGHT = 32 BORDER = 0 ALT="TOC"></A>

<A HREF="rhl17.htm" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/rhl17.htm" TARGET="_self"><IMG SRC="purnext.gif" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/purnext.gif" WIDTH = 32 HEIGHT = 32 BORDER = 0 ALT="Next Page"></A>


<HR ALIGN=CENTER>

<P>

<UL>

<UL>

<UL>

<LI>

<A HREF="#E68E114" >What Are Editors and Why Do I Need One?</A>

<LI>

<A HREF="#E68E115" >The Editing Functions</A>

<UL>

<LI>

<A HREF="#E69E209" >Inserting and Deleting Text</A>

<LI>

<A HREF="#E69E210" >Reading and Writing Files</A>

<LI>

<A HREF="#E69E211" >Searching Text</A>

<LI>

<A HREF="#E69E212" >Copying and Moving Text</A>

<LI>

<A HREF="#E69E213" >Editing Buffers</A></UL>

<LI>

<A HREF="#E68E116" >The vi Editor</A>

<UL>

<LI>

<A HREF="#E69E214" >Starting vi</A>

<LI>

<A HREF="#E69E215" >vi modes</A>

<LI>

<A HREF="#E69E216" >Inserting Text</A>

<LI>

<A HREF="#E69E217" >Quitting vi</A>

<LI>

<A HREF="#E69E218" >Moving the Cursor</A>

<LI>

<A HREF="#E69E219" >Deleting Text</A>

<LI>

<A HREF="#E69E220" >Copying and Moving Text</A>

<LI>

<A HREF="#E69E221" >Searching and Replacing Text</A>

<LI>

<A HREF="#E69E222" >Setting Preferences</A>

<LI>

<A HREF="#E69E223" >A Summary of Commands</A></UL>

<LI>

<A HREF="#E68E117" >The emacs Editor</A>

<UL>

<LI>

<A HREF="#E69E224" >Starting emacs</A>

<LI>

<A HREF="#E69E225" >Control and Meta Keys</A>

<LI>

<A HREF="#E69E226" >Moving the Cursor</A>

<LI>

<A HREF="#E69E227" >Quitting emacs</A>

<LI>

<A HREF="#E69E228" >Deleting Text</A>

<LI>

<A HREF="#E69E229" >Working with Multiple Files</A>

<LI>

<A HREF="#E69E230" >Copying and Moving Text</A>

<LI>

<A HREF="#E69E231" >Searching and Replacing Text</A>

<LI>

<A HREF="#E69E232" >Using Modes with Buffers</A>

<LI>

<A HREF="#E69E233" >Online Help in emacs</A>

<LI>

<A HREF="#E69E234" >A Summary of Commands</A></UL>

<LI>

<A HREF="#E68E118" >Summary</A></UL></UL></UL>

<HR ALIGN=CENTER>

<A NAME="E66E16"></A>

<H1 ALIGN=CENTER>

<CENTER>

<FONT SIZE=6 COLOR="#FF0000"><B>16</B></FONT></CENTER></H1>

<BR>

<A NAME="E67E16"></A>

<H2 ALIGN=CENTER>

<CENTER>

<FONT SIZE=6 COLOR="#FF0000"><B>Text Editors</B></FONT></CENTER></H2>

<BR>

<P>It's time to look at editors. This chapter will show you

<BR>

<UL>

<LI>What editors are and why you need one

<BR>

<BR>

<LI>The basic editing functions

<BR>

<BR>

<LI>The vi editor in more detail

<BR>

<BR>

<LI>The emacs editor in more detail

<BR>

<BR>

</UL>

<BR>

<A NAME="E68E114"></A>

<H3 ALIGN=CENTER>

<CENTER>

<FONT SIZE=5 COLOR="#FF0000"><B>What Are Editors and Why Do I Need One?</B></FONT></CENTER></H3>

<BR>

<P>A text editor is one of the most essential tools provided with the Linux (or virtually any) operating system. With an editor, you can create and modify text files that have a wide variety of applications:

<BR>

<UL>

<LI>User files such as .login and .cshrc

<BR>

<BR>

<LI>System files

<BR>

<BR>

<LI>Shell programs

<BR>

<BR>

<LI>Documents

<BR>

<BR>

<LI>Mail messages

<BR>

<BR>

</UL>

<P>These are but a few of the many different types of text files that you will use when working with Linux. Basically, editors enable you to insert, delete, move, and search text ranging from individual characters to thousands of lines.

<BR>

<P>Two of the most popular editors for the Linux system are emacs and vi. These editors are both full-screen text editors: Put simply, they use every row and column of your terminal screen to display the textual contents of a file. Both of these editors 
feature a rich set of commands. The essential commands for manipulating text can be learned reasonably quickly; the more sophisticated commands may take a little longer to master. However, you will likely appreciate this investment as you see how much time 
these powerful tools can save you.

<BR>

<P>Choosing one editor over another can be a matter of taste. Both emacs and vi are efficient and can handle virtually any size of file. The emacs editor is better suited to complex editing tasks and comes with an online help facility, but, for simple 
editing jobs, either editor is equally good. It really just comes down to whichever one you feel more comfortable using.

<BR>

<BR>

<A NAME="E68E115"></A>

<H3 ALIGN=CENTER>

<CENTER>

<FONT SIZE=5 COLOR="#FF0000"><B>The Editing Functions</B></FONT></CENTER></H3>

<BR>

<P>Although there are a variety of text editors for Linux that have different interfaces, they all basically do the same things. Any useful text editor should support the following features at a minimum.

<BR>

<BR>

<A NAME="E69E209"></A>

<H4 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Inserting and Deleting Text</B></FONT></CENTER></H4>

<BR>

<P>The most intrinsic function of a text editor is to enable you to enter and erase characters as you see fit. This also implies that you have complete control over the movement of the cursor and its placement in the text.

<BR>

<BR>

<A NAME="E69E210"></A>

<H4 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Reading and Writing Files</B></FONT></CENTER></H4>

<BR>

<P>Because you will want to save the text files that you create for future use and reuse, an editor can write your text to an external file. Whenever you need to make changes to your file, an editor can read the file from disk. A nice feature is that text 
editors are designed to accommodate ASCII formatted files, so an editor (such as emacs) can read any file written by another editor (such as vi), and vice versa.

<BR>

<BR>

<A NAME="E69E211"></A>

<H4 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Searching Text</B></FONT></CENTER></H4>

<BR>

<P>Personally scanning line after line of a large file for instances of a particular word is either a great way to improve your powers of concentration or an exercise in self-torture. That is why text editors provide sophisticated search capabilities. 
These include the use of regular expressions as well as fixed strings. Remember that regular expressions include metacharacters (such as ., ?, and *) that replace and expand unknown text patterns.

<BR>

<P>Editors also support search-and-replace functions that enable you to change multiple instances of a string pattern with a single command.

<BR>

<BR>

<A NAME="E69E212"></A>

<H4 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Copying and Moving Text</B></FONT></CENTER></H4>

<BR>

<P>Because there is no guarantee that the way text is initially typed into a file is the way it should forever remain, editors provide you with the means to copy, cut, and move (or paste) blocks of text. These blocks can range in size from several pages to 
a single character. The distinction between copying and cutting text is that cutting deletes the selected block of text after it has been copied to a buffer, whereas copying does not.

<BR>

<BLOCKQUOTE>

<BLOCKQUOTE>

<HR ALIGN=CENTER>

<BR>

<NOTE>Imagine having to retype Dickens's A Tale of Two Cities after realizing that you have somehow placed &quot;It was the best of times, it was the worst of times&quot; at the end of the file and not the start!</NOTE>

<BR>

<HR ALIGN=CENTER>

</BLOCKQUOTE></BLOCKQUOTE>

<BR>

<A NAME="E69E213"></A>

<H4 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Editing Buffers</B></FONT></CENTER></H4>

<BR>

<P>What is a buffer, you ask? Buffers are places in the memory of the editing program where text can reside as you make changes to a file. For example, the first time you edit a file, the text you have entered actually exists in a buffer that is written to 
an external file when you do a save. Buffers can also be used at other times in editing, particularly when it is necessary to temporarily move a block of text to memory as you make changes (in other words, cutting and pasting). Many editors enable you to 
manage multiple buffers simultaneously.

<BR>

<P>These editors have many commands that will not be fully detailed in this chapter. Before engaging in any long and arduous editing task, consult the man page for the editor you are using. There may be an easier way of doing whatever it is that you want 
to do. As you gain experience with an editor, you will discover convenient shortcuts and functions to perform your most tedious editing chores.

<BR>

<BR>

<A NAME="E68E116"></A>

<H3 ALIGN=CENTER>

<CENTER>

<FONT SIZE=5 COLOR="#FF0000"><B>The vi Editor</B></FONT></CENTER></H3>

<BR>

<P>The vi editor is installed with virtually every UNIX system in existence. Because of this, vi is considered by many to be the default text editor of the UNIX system (upon which Linux is based). vi has two modes of operation and terse commands, both of 
which make it a somewhat more difficult editor to learn than emacs. However, it is a useful editor to learn if emacs has not been installed on your Linux system.

<BR>

<BR>

<A NAME="E69E214"></A>

<H4 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Starting vi</B></FONT></CENTER></H4>

<BR>

<P>You invoke vi from the command line by typing

<BR>

<BR>

<PRE>

<FONT COLOR="#000080">vi</FONT></PRE>

<P>The screen will clear and a column of tildes (~) will appear in the leftmost column. You are now editing an empty, unnamed file. Whatever text you place in this file will exist in a buffer until you write the contents of the buffer to some named file. 
The tilde is vi's way of telling you that the line where the tilde appears is empty of text.

<BR>

<P>vi can also be started with a file or a list of files to edit:

<BR>

<BR>

<PRE>

<FONT COLOR="#000080">vi filename1 filename2 filename3 ...</FONT></PRE>

<P>Typically, you will probably edit only one file per vi session. If you are editing a list of files, vi will edit each one in the sequence that they appear on the command line.

<BR>

<P>Alternatively, vi can be invoked from the command line as

<BR>

<BR>

<PRE>

<FONT COLOR="#000080">vi +n filename</FONT></PRE>

<P>where n represents the line number where vi will place its cursor in filename. This is useful for programmers debugging large source code files who need to quickly jump to a known line containing an error.

<BR>

<P>Another example is useful in illustrating the vi editor. If you still have a vi session on your screen, exit it by pushing Esc, and then typing :q!. To start a new vi session, enter

<BR>

<BR>

<PRE>

<FONT COLOR="#000080">vi asong</FONT></PRE>

<P>at the command line.

<BR>

<BR>

<A NAME="E69E215"></A>

<H4 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>vi modes</B></FONT></CENTER></H4>

<BR>

<P>At the bottom of the screen in the left corner, you will see

<BR>

<BR>

<PRE>

<FONT COLOR="#000080">&quot;asong&quot; [NEW FILE] 1 line, 1 char</FONT></PRE>

<P>The messages displayed on this status line tell you what vi is doing or has just done. In this case, vi is telling you that it has opened an empty buffer whose contents will be saved (whenever you do a save) to the file asong.

<BR>

<P>At this moment, you are in the command mode of vi. This is the major conceptual leap required in working with this editor. When editing text, you must remember if you are in command mode or text mode. In command mode, any character sequences that you 
enter are interpreted as vi commands. In text mode, every character typed is placed in the buffer and displayed as text on-screen.

<BR>

<P>Four commands are echoed at the bottom of the screen on the status line:

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产欧美一区二区三区网站| 国产日韩欧美高清| 国产真实乱偷精品视频免| 亚洲国产精品久久艾草纯爱| 色综合久久综合网| 亚洲午夜在线视频| 国产无人区一区二区三区| 99在线精品一区二区三区| 亚洲女人的天堂| 欧美精品在线观看播放| 国产麻豆精品theporn| 国产精品私人自拍| 欧美日韩亚洲综合在线| 老司机一区二区| 国产精品乱人伦中文| 欧美大胆人体bbbb| 成人午夜在线播放| 亚洲国产cao| 亚洲色图20p| 欧美一区二区三区四区视频| 国产精品亚洲一区二区三区在线| 国产精品乱码妇女bbbb| 日本道精品一区二区三区| 午夜精彩视频在线观看不卡| 久久久久久影视| 95精品视频在线| 久久99精品久久久久久久久久久久| 欧美国产一区在线| 欧美欧美欧美欧美首页| 成人福利在线看| 丝袜美腿亚洲一区二区图片| 久久亚洲一级片| 一区二区三区在线观看欧美| 欧美另类videos死尸| 91黄视频在线观看| 91蜜桃免费观看视频| 精品无人码麻豆乱码1区2区| 麻豆精品精品国产自在97香蕉| 国产精品久99| 中文字幕在线播放不卡一区| 日韩欧美亚洲另类制服综合在线| 91麻豆精品国产91久久久久久久久 | 美女网站色91| 丝袜诱惑亚洲看片| 日韩高清中文字幕一区| 久久久久国产精品麻豆ai换脸 | 久久影院电视剧免费观看| 欧美电影免费观看高清完整版在| 日日欢夜夜爽一区| 青青草97国产精品免费观看 | 中文字幕不卡的av| 国产精品久久久一本精品| 国产欧美日韩在线看| 国产人成亚洲第一网站在线播放| 日本一二三不卡| 亚洲欧洲综合另类| 91成人看片片| 亚洲区小说区图片区qvod| 一区二区三区资源| 午夜电影久久久| 麻豆精品国产传媒mv男同| 国产风韵犹存在线视精品| 亚洲电影一级片| 亚洲色大成网站www久久九九| 樱桃视频在线观看一区| 亚洲欧美日韩中文字幕一区二区三区| 亚洲一区二区三区在线| 国产精品久久久久久久第一福利 | 久久综合九色综合97婷婷女人 | 日韩精品电影在线观看| 久久91精品久久久久久秒播| aaa欧美日韩| 宅男在线国产精品| 欧美精品一区二区久久久| 日韩女优av电影| 国产精品色在线| 亚洲va中文字幕| 中文一区二区完整视频在线观看| 日韩国产欧美在线播放| 国产一区二区在线观看免费| www.亚洲人| 欧美日韩在线免费视频| 精品国偷自产国产一区| 亚洲女同女同女同女同女同69| 蜜臀久久99精品久久久画质超高清| 国产精品一卡二卡在线观看| 91国模大尺度私拍在线视频| 久久精品网站免费观看| 午夜精品免费在线| 国产成人av一区| 6080日韩午夜伦伦午夜伦| 国产日韩欧美一区二区三区综合| 亚洲午夜视频在线观看| 国产乱理伦片在线观看夜一区| 欧美视频精品在线| 在线亚洲+欧美+日本专区| 色天天综合色天天久久| 精品1区2区在线观看| 一区二区三区中文在线观看| 国内精品免费**视频| 欧美日韩一级视频| 中文字幕亚洲一区二区va在线| 日韩专区在线视频| 91日韩精品一区| 久久久国产精品麻豆| 日韩 欧美一区二区三区| 99re这里都是精品| 国产午夜亚洲精品不卡| 午夜精品久久一牛影视| 成人白浆超碰人人人人| 精品国产a毛片| 日韩中文字幕区一区有砖一区| 色综合欧美在线视频区| 国产女同互慰高潮91漫画| 久久成人综合网| 欧美一区二区三区视频在线| 亚洲一级二级三级| 欧美色窝79yyyycom| 国产精品女同互慰在线看| 黑人巨大精品欧美一区| 日韩一区二区在线看| 国产精品免费人成网站| 精品午夜久久福利影院 | 欧美日韩久久一区| 亚洲另类中文字| 91丨porny丨中文| 亚洲欧美自拍偷拍| av一区二区不卡| 国产精品卡一卡二卡三| 9i在线看片成人免费| 亚洲国产精品二十页| 成人免费福利片| 亚洲国产成人自拍| 成人av免费观看| 综合在线观看色| 在线观看视频91| 亚洲成人第一页| 欧美另类变人与禽xxxxx| 秋霞电影网一区二区| 日韩一区和二区| 狠狠v欧美v日韩v亚洲ⅴ| 久久精品欧美一区二区三区不卡| 国产成a人亚洲精| 日韩一区二区三区在线| 捆绑调教美女网站视频一区| 精品黑人一区二区三区久久| 国产麻豆视频一区| 国产色爱av资源综合区| 成人黄色国产精品网站大全在线免费观看| 久久精品日韩一区二区三区| 成人激情av网| 夜夜嗨av一区二区三区四季av | 欧美刺激脚交jootjob| 一区二区免费在线播放| 欧美视频一区二| 蜜桃av一区二区三区| 国产欧美视频一区二区| 91视频在线观看| 手机精品视频在线观看| 26uuu亚洲| 91丨九色丨黑人外教| 亚洲一区二区三区四区的| 51精品国自产在线| 国产美女精品人人做人人爽| 亚洲欧美乱综合| 久久久久久黄色| 91最新地址在线播放| 午夜久久福利影院| wwwwxxxxx欧美| 91福利精品视频| 久久精品国产亚洲一区二区三区 | 免费成人美女在线观看| 精品理论电影在线观看 | 不卡高清视频专区| 天堂成人国产精品一区| 国产女同性恋一区二区| 欧美美女一区二区三区| 国产精品一区2区| 亚洲123区在线观看| 久久精品网站免费观看| 欧美日韩激情在线| 丁香一区二区三区| 日本免费在线视频不卡一不卡二| 久久精品人人做人人综合| 欧美影片第一页| 国产福利91精品一区二区三区| 亚洲成人免费视频| 日本一区二区免费在线| 欧美疯狂性受xxxxx喷水图片| 国产一区欧美二区| 亚洲成人一二三| 亚洲丝袜精品丝袜在线| 久久综合久久久久88| 欧美日韩另类国产亚洲欧美一级| 国产成人免费在线观看不卡| 奇米一区二区三区av| 亚洲一二三四在线观看| 中文字幕五月欧美| 国产婷婷色一区二区三区 | 亚洲女爱视频在线|