【求助】command which can show the listing of all file

顯示結果從第 1 筆 到 2 筆,共計 2 筆
  1. #1
    會員
    註冊日期
    2003-08-25
    討論區文章
    4

    【求助】command which can show the listing of all file

    Hi guys! I am new in here, i got a question is have to

    a listing of all the files under /etc/ directory, and its sub-

    directories that have been created or changed since the system

    was booted! even i have other question listing of all the files undet xxx directory, and its sub-directoried that have been created and

    modified in the last 60 mins, 7 days, and 30 days old.

    Anyone can give me a concept which command should i use?

    I try to use "ls" but, i don't think it's only this one!

    Thanks!



  2. #2
    會員
    註冊日期
    2001-03-23
    討論區文章
    155
    通常我都會使用find指令。
    例如:
    在目錄etc下找60分鐘內最後被修改的檔案或目錄:
    find /etc -mmin -60

    在目錄etc下找7天以內最後被修改的檔案或目錄:
    find /etc -mtime -7

    在目錄etc下找7~30天之間最後被修改的檔案或目錄:
    find /etc -mtime +7 -and -mtime -30

類似的主題

  1. 【求助】當在開機畫面PCI Devices Listing...
    作者:kuofred 所在討論版:-- 電 腦 硬 體 討 論 版
    回覆: 2
    最後發表: 2005-04-02, 04:56 PM
  2. 【求助】出現 Invalid field in command 燒錄失敗!?
    作者:恐龍蛋 所在討論版:-- 光 碟 燒 錄 討 論 版
    回覆: 0
    最後發表: 2003-09-16, 08:00 PM
  3. 【求助】smbmount command problem...
    作者:conty 所在討論版:-- FreeBSD & Linux 討 論 版
    回覆: 2
    最後發表: 2003-04-05, 04:55 PM
  4. 【求助】幫幫我~ command timeout error
    作者:jjjang 所在討論版:-- 光 碟 燒 錄 討 論 版
    回覆: 3
    最後發表: 2002-11-03, 12:46 AM
  5. 642R Debug Command Listing
    作者:Star69 所在討論版:---- ADSL 軟 硬 體 技 術
    回覆: 3
    最後發表: 2001-03-29, 02:33 AM

 

此網頁沒有從搜尋引擎而來的訪客

發表文章規則

  • 不可以發表新主題
  • 不可以回覆文章
  • 不可以上傳附加檔案
  • 不可以編輯自己的文章
  •