•  Home
  •  Dashboard
  •  Company
    • About Us
    • Blog
    • Careers
    • Contact Us
    • Data Centers
    • Looking Glass
    • Network
    • Reseller
  •  Hosting Services
    • Infrastructure
      • iColocation
    • Compute
      • cMetal
      • cVirtual
    • Storage
      • sObject
      • sBlock
    • Networking
      • nCDN
      • nIP Transit
      • nWavelength
    • Protection
      • pBackup
      • pDDoS
  •  Solutions
    • Ecommerce
    • Finance
    • Gaming
    • Hosting
    • Management
    • Security
    • System Integrator
  •  Support
    • Community
    • Knowledge Base
    • Open A Ticket
  •  USA & Canada: 800-933-1517
  •  International: 626-549-2801
  •  Email: sales@psychz.net
  • Services
    • new-colocation-header-img
      Infrastructure
      • iColocation
    • new-compute-header-img
      Compute
      • cMetal
      • cVirtual
    • new-storage-header-img
      Storage
      • sObject
      • sBlock
    • new-networking-header-img
      Networking
      • nCDN
      • nIP Transit
      • nWavelength
    • new-protection-header-img
      Protection
      • pBackup
      • pDDoS
  • Solutions
    • Ecommerce
    • Security
    • Gaming
    • Hosting
    • Management
    • Finance
    • System Integrator
  • Dashboard

Linux查找命令

  • Home
  • Client
  • Qa Forum
  • Linux查找命令

Posted By: Matthew | 1 Replies | Last Reply On: Jul 27, 2017 08:48:21

有人可以告訴我如何使用Linux find命令來查找文件的名稱,擴展名?

Psychz - Girish

Votes: 0Posted On: Jul 27, 2017 08:48:21
 

嗨!

在大量的Linux命令中,“find”命令是最通用的命令之一。 “find”命令用於搜索字符串的文件和目錄。這個命令有很多變化。其中一些在下面討論。


搜索目錄中的文件和文本

搜索文件的所有目錄。

“find / -iname ”

搜索所有目錄的特定文本。

“find / -iname ”

在擴展名的幫助下搜索文件。

找 。 -type f -name“* .txt”

(注意:您可以使用以下選項與“查找”命令進一步調整搜索。)

“/” - 使用此選項搜索所有目錄。
“/ directory_path” - 搜索指定的目錄。
“。” - 搜索當前目錄。
“-iname” - 使用此選項可以搜索不區分大小寫。
“-iname” - 使用此選項進行區分大小寫的搜索。

“-type f” - 搜索文件。
“-type d” - 搜索目錄。

Was this reply helpful?

Related topics

  • 開源代理服務器解決方案
  • 路由器交換機VS
  • 西海岸專用服務器
  • 熱門NoSQL數據庫
  • 服務器租用的Minecraft
  • 在美國即時KVM服務器
  • 什麼是上游和下游的網絡之間的區別?
  • Introducing sObject: The New Object Storage Solution by Psychz Networks
  • How to free up disk space on a cPanel server
  • How to do a speed test using Psychz looking glass?
  • EasyApache 4:比以前更好?
  • Create CDN Domain
  • CDN Sub Domains Intro
  • CDN Hosting and why Every website should utilize a CDN
  • Best Security Practices for Terraform Psychz Provider
Copyright © 2025 Psychz Networks,
A Profuse Solutions Inc Company
Hosting Services
Infrastructure
  • iColocation
Compute
  • cMetal
  • cVirtual
Storage
  • sObject
  • sBlock
Networking
  • nCDN
  • nIP Transit
  • nWavelength
Protection
  • pBackup
  • pDDoS
Company
  • About Us
  • Blog
  • Careers
  • Contact Us
  • Data Centers
  • Looking Glass
  • Network
  • Reseller
Policies
  • Acceptable Usage Policy
  • Privacy Policy
  • Service Level Agreement
  • Terms and Conditions
Support
  • Community
  • Knowledge Base
  • Open A Ticket
Get In Touch
  • Psychz Networks,
    A Profuse Solutions Company
    611 Wilshire Blvd #300
    Los Angeles,California 90017
    USA
  • US/Canada: 800-933-1517
  • International: 626-549-2801