久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      Linux基礎(chǔ)命令之tail顯示文本

      tail

      顯示文本文件尾部的部分內(nèi)容,默認(rèn)顯示最后10行。此命令的適用范圍:RedHat、RHEL、Ubuntu、CentOS、SUSE、openSUSE、Fedora。

      1、語(yǔ)法

      tail[選項(xiàng)]file

      2、選項(xiàng)列表

      選項(xiàng)

      說(shuō)明

      –version

      顯示命令版本信息

      –help

      顯示幫助文檔

      -c | –bytes=k

      顯示最后的k個(gè)字節(jié)

      -f

      持續(xù)讀取文本尾部數(shù)據(jù),通常用于監(jiān)控日志文件

      -F

      等價(jià)于–follow=name

      -n | –lines=k

      顯示最后的k行

      –pid=PID

      和-f一起使用,當(dāng)指定進(jìn)程號(hào)程序結(jié)束的時(shí)候,停止tail

      -q | –quite | –silent

      不顯示文件名

      –retry

      繼續(xù)嘗試打開(kāi)文件,即使文件是不可訪問(wèn)的或變得不可訪問(wèn)。

      -v | –verbose

      顯示文件名

      3、實(shí)例

      1)顯示最后一行

      [root@localhost weijie]#cat 1.c//查看文件

      hello world,

      i am david.

      i love linux,

      love code.

      [root@localhost weijie]#tail -n 1 1.c//顯示最后一行

      love code.

      2)顯示最后幾個(gè)字符

      [root@localhost weijie]#tail -c 10 1.c//顯示最后10個(gè)字符

      ove code.

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)