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

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

?? _chapter 9.htm

?? linux、unix初學(xué)者的必讀書(shū)籍 詳細(xì)講述了shell編程方法與技巧
?? HTM
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
    <td>
    <h2 class="docSidebarTitle">EXPLANATION</h2>
    <p class="docText">The history list is displayed in reverse order.</td>
  </tr>
</table>

<h5 id="ch09list17" class="docExampleTitle">Example 9.17 </h5>
<pre>% <span class="docEmphStrong">history 5</span>        <span class="docEmphasis"># Prints the last 5 events on the history list</span>
<span class="docEmphasis">7   echo $USER</span>
<span class="docEmphasis">8   cd</span>
<span class="docEmphasis">9   set</span>
<span class="docEmphasis">10  history 杗</span>
<span class="docEmphasis">11  history 5</span>
</pre>

<table cellSpacing="0" width="90%" border="1" align="center">
  <tr>
    <td>
    <h2 class="docSidebarTitle">EXPLANATION</h2>
    <p class="docText">The last five commands on the history list are displayed.</td>
  </tr>
</table>

<p class="docText"><b>Reexecuting Commands.</b> To reexecute a command from the 
history list, the exclamation point (bang) is used. If you type two exclamation 
points (!!), the last command is reexecuted. If you type the exclamation point 
followed by a number, the number is associated with the command from the history 
list and the command is executed. If you type an exclamation point and a letter, 
the last command that started with that letter is executed. The caret (^) is 
also used as a shortcut method for editing the previous command.</p>
<h5 id="ch09list18" class="docExampleTitle">Example 9.18 </h5>
<pre>1   % <span class="docEmphStrong">date</span>
    <span class="docEmphasis">Mon Feb  8 12:27:35 PST 2001</span>

2   % <span class="docEmphStrong">!!</span>
    <span class="docEmphasis">date</span>
    <span class="docEmphasis">Mon Feb  8 12:28:25 PST 2001</span>

3   % <span class="docEmphStrong">!3</span>
    <span class="docEmphasis">date</span>
    <span class="docEmphasis">Mon Feb  8 12:29:26 PST 2001</span>

4   % <span class="docEmphStrong">!d</span>
    <span class="docEmphasis">date</span>
    <span class="docEmphasis">Mon Feb  8 12:30:09 PST 2001</span>

5   % <span class="docEmphStrong">dare</span>
    <span class="docEmphasis">dare: Command not found.</span>

6   % <span class="docEmphStrong">^r^t</span>
    <span class="docEmphasis">date</span>
    <span class="docEmphasis">Mon Feb  8 12:33:25 PST 2001</span>
</pre>

<table cellSpacing="0" width="90%" border="1" align="center">
  <tr>
    <td>
    <h2 class="docSidebarTitle">EXPLANATION</h2>
    <span style="FONT-WEIGHT: bold">
    <ol class="docList" type="1">
      <li><span style="FONT-WEIGHT: normal">
      <p class="docList">The UNIX <span class="docEmphasis">date</span> command 
      is executed at the command line. The history list is updated. This is the 
      last command on the list.</span></li>
      <li><span style="FONT-WEIGHT: normal">
      <p class="docList">The <span class="docEmphasis">!!</span> (bang bang) 
      gets the last command from the history list; the command is reexecuted.</span></li>
      <li><span style="FONT-WEIGHT: normal">
      <p class="docList">The third command on the history list is reexecuted.</span></li>
      <li><span style="FONT-WEIGHT: normal">
      <p class="docList">The last command on the history list that started with 
      the letter <span class="docEmphasis">d</span> is reexecuted.</span></li>
      <li><span style="FONT-WEIGHT: normal">
      <p class="docList">The command is mistyped.</span></li>
      <li><span style="FONT-WEIGHT: normal">
      <p class="docList">The carets are used to substitute letters from the last 
      command on the history list. The first occurrence of an
      <span class="docEmphasis">r</span> is replaced with a
      <span class="docEmphasis">t.</span></span></li>
    </ol>
    </span></td>
  </tr>
</table>

<h5 id="ch09list19" class="docExampleTitle">Example 9.19 </h5>
<pre>1   % <span class="docEmphStrong">cat  file1 file2 file3</span>

       <span class="docEmphasis">&lt;Contents of files displayed here&gt;</span>

    % <span class="docEmphStrong">vi !:1</span>
    <span class="docEmphasis">vi file1</span>

2   % <span class="docEmphStrong">cat file1 file2 file3</span>

       <span class="docEmphasis">&lt;Contents of file, file2, and file3 are displayed here&gt;</span>

    % <span class="docEmphStrong">ls !:2</span>
    <span class="docEmphasis">ls file2</span>
    <span class="docEmphasis">file2</span>

3   % <span class="docEmphStrong">cat file1 file2 file3</span>
    % <span class="docEmphStrong">ls  !:3</span>
    <span class="docEmphasis">ls file3</span>
    <span class="docEmphasis">file3</span>

4   % <span class="docEmphStrong">echo a b c</span>
    <span class="docEmphasis">a b c</span>
    % <span class="docEmphStrong">echo !$</span>
    <span class="docEmphasis">echo c</span>
    <span class="docEmphasis">c</span>

5   % <span class="docEmphStrong">echo a b c</span>
    <span class="docEmphasis">a b c</span>
    % <span class="docEmphStrong">echo !^</span>
    <span class="docEmphasis">echo a</span>
    <span class="docEmphasis">a</span>

6   % <span class="docEmphStrong">echo a b c</span>
    <span class="docEmphasis">a b c</span>
    % <span class="docEmphStrong">echo !*</span>
    <span class="docEmphasis">echo a b c</span>
    <span class="docEmphasis">a b c</span>

7   % <span class="docEmphStrong">!!:p</span>
    <span class="docEmphasis">echo a b c</span>
</pre>

<table cellSpacing="0" width="90%" border="1" align="center">
  <tr>
    <td>
    <h2 class="docSidebarTitle">EXPLANATION</h2>
    <span style="FONT-WEIGHT: bold">
    <ol class="docList" type="1">
      <li><span style="FONT-WEIGHT: normal">
      <p class="docList">The <span class="docEmphasis">cat</span> command 
      displays the contents of <span class="docEmphasis">file1</span> to the 
      screen. The history list is updated. The command line is broken into 
      words, starting with word number zero. If the word number is preceded by a 
      colon, that word can be extracted from the history list. The
      <span class="docEmphasis">!:1</span> notation means,
      <span class="docEmphasis">get the first argument from the last command on 
      the history list and replace it in the command string.</span> The first 
      argument from the last command is <span class="docEmphasis">file1.</span> 
      (Word <span class="docEmphasis">0</span> is the command itself.)</span></li>
      <li><span style="FONT-WEIGHT: normal">
      <p class="docList">The <span class="docEmphasis">!:2</span> is replaced 
      with the second argument of the last command, <span class="docEmphasis">
      file2,</span> and given as an argument to <span class="docEmphasis">ls. 
      file2</span> is printed. (<span class="docEmphasis">file2</span> is the 
      third word.)</span></li>
      <li><span style="FONT-WEIGHT: normal">
      <p class="docList"><span class="docEmphasis">ls !:3</span> reads,
      <span class="docEmphasis">go to the last command on the history list and 
      get the fourth word (words start at zero) and pass it to the</span> ls
      <span class="docEmphasis">command as an argument</span> (<span class="docEmphasis">file3</span> 
      is the fourth word).</span></li>
      <li><span style="FONT-WEIGHT: normal">
      <p class="docList">The bang (<span class="docEmphasis">!</span>) with the 
      dollar sign (<span class="docEmphasis">$</span>) refers to the last 
      argument of the last command on the history list. The last argument is
      <span class="docEmphasis">c.</span></span></li>
      <li><span style="FONT-WEIGHT: normal">
      <p class="docList">The caret (<span class="docEmphasis">^</span>) 
      represents the first argument after the command. The bang (<span class="docEmphasis">!</span>) 
      with the <span class="docEmphasis">^</span> refers to the first argument 
      of the last command on the history list. The first argument of the last 
      command is <span class="docEmphasis">a.</span></span></li>
      <li><span style="FONT-WEIGHT: normal">
      <p class="docList">The asterisk (<span class="docEmphasis">*</span>) 
      represents all arguments after the command. The bang (<span class="docEmphasis">!</span>) 
      with the <span class="docEmphasis">*</span> refers to all of the arguments 
      of the last command on the history list.</span></li>
      <li><span style="FONT-WEIGHT: normal">
      <p class="docList">The last command from the history list is printed but 
      not executed. The history list is updated. You could now perform caret 
      substitutions on that line.</span></li>
    </ol>
    </span></td>
  </tr>
</table>

<h4 class="docSection2Title" id="ch09lev2sec5">9.1.5 Aliases</h4>
<p class="docText">An <span class="docEmphasis">alias</span> is a C shell 
user-defined abbreviation for a command. Aliases are useful when a command has a 
number of options and arguments or the syntax is difficult to remember. Aliases 
set at the command line are not inherited by subshells. Aliases are normally set 
in the <span class="docEmphasis">.cshrc</span> file. Since the
<span class="docEmphasis">.cshrc</span> is executed when a new shell is started, 
any aliases set there will get reset for the new shell. Aliases may also be 
passed into shell scripts, but will cause potential portability problems unless 
they are directly set within the script.</p>
<p class="docText"><b>Listing Aliases.</b> The <span class="docEmphasis">alias</span> 
built-in command lists all set aliases. The alias is printed first, followed by 
the real command or commands it represents.</p>
<h5 id="ch09list20" class="docExampleTitle">Example 9.20 </h5>
<pre>% <span class="docEmphStrong">alias</span>
<span class="docEmphasis">co      compress</span>
<span class="docEmphasis">cp      cp 杋</span>
<span class="docEmphasis">ls1     enscript 朆 杛 朠orange 杅 Courier8 !* &amp;</span>
<span class="docEmphasis">mailq   /usr/lib/sendmail 朾p</span>
<span class="docEmphasis">mroe    more</span>
<span class="docEmphasis">mv      mv 杋</span>
<span class="docEmphasis">rn      /usr/spool/news/bin/rn3</span>
<span class="docEmphasis">uc      uncompress</span>
<span class="docEmphasis">uu      uudecode</span>
<span class="docEmphasis">vg      vgrind 杢 杝11 !:1 | lpr 杢</span>
<span class="docEmphasis">weekly  (cd /home/jody/ellie/activity; ./weekly_report; echo Done)</span>
</pre>

<table cellSpacing="0" width="90%" border="1" align="center">
  <tr>
    <td>
    <h2 class="docSidebarTitle">EXPLANATION</h2>
    <p class="docText">The <span class="docEmphasis">alias</span> command lists 
    the alias (nickname) for the command in the first column and the real 
    command the alias represents in the second column.</td>
  </tr>
</table>

<p class="docText"><b>Creating Aliases.</b> The <span class="docEmphasis">alias</span> 
command is used to create an alias. The first argument is the name of the alias, 
the nickname for the command. The rest of the line consists of the command or 
commands that will be executed when the alias is executed. Multiple commands are 
separated by a semicolon, and commands containing spaces and metacharacters are 
surrounded by single quotes.</p>
<h5 id="ch09list21" class="docExampleTitle">Example 9.21 </h5>
<pre>1   % <span class="docEmphStrong">alias m more</span>
2   % <span class="docEmphStrong">alias mroe more</span>
3   % <span class="docEmphStrong">alias lF 'ls -alF'</span>
4   % <span class="docEmphStrong">alias cd  'cd \!*; set prompt = &quot;$cwd   &gt;&quot;'</span>
    % <span class="docEmphStrong">cd ..</span>
    /home/jody &gt;  <span class="docEmphBoldItalic">cd /</span>         <span class="docEmphasis"># New prompt displayed</span>
    <span class="docEmphStrong">/ &gt;</span>
</pre>

<table cellSpacing="0" width="90%" border="1" align="center">
  <tr>
    <td>
    <h2 class="docSidebarTitle">EXPLANATION</h2>
    <span style="FONT-WEIGHT: bold">
    <ol class="docList" type="1">
      <li><span style="FONT-WEIGHT: normal">
      <p class="docList">The nickname for the <span class="docEmphasis">more</span> 
      command is set to <span class="docEmphasis">m.</span></span></li>
      <li><span style="FONT-WEIGHT: normal">

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91麻豆精品国产91久久久久久 | av爱爱亚洲一区| 成人免费在线播放视频| 国产免费久久精品| 六月婷婷色综合| 久久久亚洲精华液精华液精华液| 久久综合色之久久综合| 欧美一级二级三级乱码| 欧美日韩一级二级| 欧洲一区二区三区在线| 欧美日韩精品一区视频| 日韩女优制服丝袜电影| 欧美美女喷水视频| 日韩亚洲欧美成人一区| 精品少妇一区二区三区视频免付费 | 天天色图综合网| 久久69国产一区二区蜜臀| 国产一区二区在线视频| 成人综合婷婷国产精品久久 | 欧美精品亚洲二区| 欧美人与性动xxxx| 久久免费看少妇高潮| 中文字幕制服丝袜一区二区三区| 91麻豆精品国产91| 国产喂奶挤奶一区二区三区| 欧美日本乱大交xxxxx| 日韩视频中午一区| 中文字幕一区二区三区在线不卡| 欧美另类z0zxhd电影| 欧美在线一区二区| 精品国产麻豆免费人成网站| 久久久噜噜噜久久中文字幕色伊伊 | 亚洲成av人片一区二区梦乃| 午夜av区久久| av电影在线观看完整版一区二区| 秋霞电影一区二区| 国产一区二区不卡老阿姨| 99久久精品国产一区| 91精品国产综合久久精品图片| 91在线观看污| 精品少妇一区二区三区视频免付费 | 亚洲成av人在线观看| 亚洲 欧美综合在线网络| 国产一区福利在线| 欧美私模裸体表演在线观看| 欧美成人三级电影在线| 秋霞成人午夜伦在线观看| 亚洲一级二级三级在线免费观看| 99国产一区二区三精品乱码| 日日夜夜精品视频免费| 亚洲精品中文字幕乱码三区| 久久av资源网| 在线视频综合导航| 国产精品美女www爽爽爽| 久久99精品国产麻豆婷婷| 欧美日韩中文精品| 一区二区三区中文免费| 成人午夜在线视频| 日韩一区二区麻豆国产| 亚洲男同1069视频| 国产成人精品三级麻豆| 日韩美女在线视频| 日韩精品一二三四| 欧美三级中文字幕在线观看| 中文字幕一区二区日韩精品绯色| 久久免费精品国产久精品久久久久| 欧美色精品在线视频| 国产精品国产三级国产aⅴ原创| 国产婷婷色一区二区三区四区| www欧美成人18+| 九九在线精品视频| 精品久久久久一区| 日韩av电影免费观看高清完整版在线观看 | 9久草视频在线视频精品| 日韩三级精品电影久久久 | 国产乱码精品一区二区三区av| 裸体健美xxxx欧美裸体表演| 一本高清dvd不卡在线观看| 国产欧美日韩三级| 成人av资源在线观看| 国产精品私房写真福利视频| 丰满岳乱妇一区二区三区| 国产日韩精品一区二区浪潮av| 国产精品久久久久久久浪潮网站| 国产精品你懂的在线欣赏| 国产高清无密码一区二区三区| 高清在线成人网| 国产欧美精品在线观看| 国内精品视频666| 中文字幕免费一区| 91小视频在线| 亚洲地区一二三色| 日韩一区二区三区免费看| 日本不卡一区二区三区高清视频| 国产91丝袜在线播放| 国产精品久久毛片| 欧美日韩一区三区四区| 日韩影视精彩在线| 国产无人区一区二区三区| 色噜噜夜夜夜综合网| 免费日韩伦理电影| 精品剧情在线观看| 99精品国产热久久91蜜凸| 亚洲一区二区精品视频| 717成人午夜免费福利电影| 国产一区亚洲一区| 亚洲激情在线播放| 日韩欧美电影一区| 色综合视频在线观看| 日韩二区三区四区| 日韩一区在线看| 91精品国产日韩91久久久久久| 国产精品成人网| 91麻豆精品国产自产在线 | 丝袜诱惑制服诱惑色一区在线观看 | 日本一区中文字幕| 久久亚洲一区二区三区明星换脸| 最新不卡av在线| 欧美丰满少妇xxxxx高潮对白| 亚洲国产精品av| 欧美人牲a欧美精品| 久久91精品久久久久久秒播| 亚洲精品国产精华液| 精品处破学生在线二十三| 欧美最猛黑人xxxxx猛交| 国产在线精品一区二区夜色 | 不卡影院免费观看| 人人狠狠综合久久亚洲| 亚洲欧美韩国综合色| 国产午夜精品一区二区| 精品视频在线免费看| 色综合天天做天天爱| 国产一区二区精品久久99| 丝袜美腿亚洲一区| 亚洲在线中文字幕| 久久久久久久久一| 欧美精品一区男女天堂| 欧美人牲a欧美精品| 欧美系列在线观看| 97se亚洲国产综合自在线| 国产成人啪免费观看软件| 激情综合一区二区三区| 麻豆精品久久久| 裸体健美xxxx欧美裸体表演| 舔着乳尖日韩一区| 亚洲福利国产精品| 亚洲一区二区三区国产| 亚洲午夜电影网| 亚洲精品久久嫩草网站秘色| 亚洲丝袜制服诱惑| 一区在线播放视频| 中文字幕一区二区日韩精品绯色| 91亚洲男人天堂| 懂色av一区二区夜夜嗨| 精品亚洲porn| 激情五月婷婷综合| 国精产品一区一区三区mba视频| 国产三级欧美三级日产三级99| 成人手机电影网| 国产精品一区三区| 国产98色在线|日韩| 岛国一区二区三区| 91美女片黄在线观看| 91国产视频在线观看| 欧美午夜理伦三级在线观看| 欧美日韩综合在线免费观看| 久久久www成人免费无遮挡大片| 久久精品噜噜噜成人88aⅴ| 一区二区三区中文在线观看| 亚洲高清免费在线| 亚洲国产精品久久人人爱蜜臀| 精品国产乱码久久久久久老虎| 国产麻豆精品视频| 国产精品综合二区| 精品一区二区三区在线播放| 欧美日韩一级黄| 精品久久人人做人人爰| 欧美精品乱码久久久久久| 欧美一二三区在线观看| 日本一区免费视频| 亚洲黄色免费电影| 美女视频免费一区| 99精品在线观看视频| 欧美日韩久久久| 国产日韩欧美亚洲| 午夜亚洲福利老司机| 国产一区二区在线电影| 日本久久一区二区| 欧美白人最猛性xxxxx69交| 国产精品美女一区二区三区 | 丰满亚洲少妇av| 高清国产一区二区| 欧美日韩高清影院| 久久免费国产精品| 亚欧色一区w666天堂| 精品夜夜嗨av一区二区三区| 在线一区二区观看| 国产欧美一区二区精品性色 | 91美女视频网站| 精品999在线播放|