linux下訪問中文目錄檔案

來源:互聯網
上載者:User

標籤:http   for   sp   檔案   bs   linux   使用者   tt   ip   

檔案路徑包含中文時,可輸入部分檔案名稱,然後按Tab鍵。 當路徑包含中文括弧時,用斜杠,如: \(…、\) 。

也可用 ls -li ,先查看inum(inode編號),然後再根據編號進行訪問,用尋找命令 $(find -inum …),如:

 

 

 

另外補充部分find命令:

find / -amin -10 # 尋找在系統中最後10分鐘訪問的檔案
find / -atime -2 # 尋找在系統中最後48小時訪問的檔案
find / -empty # 尋找在系統中為空白的檔案或者檔案夾
find / -group cat # 尋找在系統中屬於 groupcat的檔案
find / -mmin -5 # 尋找在系統中最後5分鐘裡修改過的檔案
find / -mtime -1 #尋找在系統中最後24小時裡修改過的檔案
find / -nouser #尋找在系統中屬於作廢使用者的檔案
find / -user fred #尋找在系統中屬於FRED這個使用者的檔案

 

linux下訪問中文目錄檔案

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.