久久久久久久性爱潮,国产又粗又猛又爽又黄下载视频,尤物国产在线一区视频,欧美日本国产在线不卡

<sup id="4uqqy"><ol id="4uqqy"></ol></sup>
  • <th id="4uqqy"></th>

      • <strike id="4uqqy"><nobr id="4uqqy"><ins id="4uqqy"></ins></nobr></strike><sup id="4uqqy"></sup><strong id="4uqqy"><u id="4uqqy"></u></strong>
        <sub id="4uqqy"></sub>

          綠色資源網(wǎng):您身邊最放心的安全下載站! 最新軟件|熱門排行|軟件分類|軟件專題|廠商大全

          綠色資源網(wǎng)

          技術教程
          您的位置:首頁操作系統(tǒng)linux → Linux系統(tǒng)中怎么搜索文件命令大全

          Linux系統(tǒng)中怎么搜索文件命令大全

          我要評論 2013/04/30 21:20:39 來源:綠色資源網(wǎng) 編輯:www.kiwanis-srv.org [ ] 評論:0 點擊:164次

          命令1:which

          "which 命令"  查找且只能查找命令所在目錄

          例如:which ls

          命令2:whereis

          "whereis 命令" 查找且只能查找命令所在目錄 + 幫助文檔位置

          whereis 命令

          命令位置+幫助文檔位置

          命令3:find

          "find 路徑 查找方式 參數(shù)" 可以查找任何文件

          查找方式有很多種:

          1.根據(jù)文件名查找

          查找方式:-name

          例如: find /t3 -name file1

          注:文件名可以用通配符

          * 多個字符

          ? 單個字符

          例如:find /t3 -name fil*

          2.根據(jù)文件大小查找

          查找方式:-size(單位數(shù)據(jù)塊512字節(jié),即0.5kb)

          +1000

          -1000

          =1000

          例如:find /t3 -name -1000

          3.根據(jù)文件的所有者查找

          查找方式:-user

          例如:find /t3 -user xhc

          4.根據(jù)文件的所屬組查找

          查找方式:-group

          例如:find /t3 -group greenday

          5.根據(jù)最后修改時間查找

          查找方式:-ctime、-atime、-mtime 以天為單位

          查找方式:-cmin、-amin、-mmin 以分鐘為單位

          c改變 指文件屬性,指權限、所屬組、所有者改變過

          a訪問

          m修改 指文件內容修改過

          參數(shù):

          + 超過多長時間

          -  多少時間之內

          什么都不寫 剛好

          例如:find /t3 -mmin -120

          6.根據(jù)文件類型找

          查找方式:-type

          例如:find /t3 -type d

          7.根據(jù)i節(jié)點查找

          查找方式:-inum

          例如:find /t3 -inum 14

          8.多重條件

          -a 邏輯與

          -o 邏輯或

          例如:find -size +80 -a -size -100

          4.查找后操作

          固定格式:find xxx -exec 命令 {} \;

          例如:find /t3 -mmin -120 -exec ls -l {} \; 查找兩小時內被修改過的文件并列出詳細信息

          locate

          updatedb

          grep

          例子:grep ftp 文件名a 輸出a文件中包含ftp的行

          關鍵詞:Linux

          閱讀本文后您有什么感想? 已有 人給出評價!

          • 0 歡迎喜歡
          • 0 白癡
          • 0 拜托
          • 0 哇
          • 0 加油
          • 0 鄙視