•  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
      • nIP Transit
      • nWavelength
    • Protection
      • pBackup
      • pDDoS
  •  Solutions
    • Ecommerce
    • Finance
    • Gaming
    • Hosting
    • Management
    • Security
    • System Integrator
  •  Support
    • Community
    • Knowledge Base
    • Open A Ticket
    • Status
  •  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
      • nIP Transit
      • nWavelength
    • new-protection-header-img
      Protection
      • pBackup
      • pDDoS
  • Solutions
    • Ecommerce
    • Security
    • Gaming
    • Hosting
    • Management
    • Finance
    • System Integrator
  • Dashboard

ลินุกซ์ค้นหาคำสั่ง

  • Home
  • Client
  • Qa Forum
  • ลินุกซ์ค้นหาคำสั่ง

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

คนที่สามารถบอกฉันวิธีการใช้ Linux หาคำสั่งเพื่อค้นหาไฟล์โดยชื่อนามสกุล?

Psychz - Girish

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

Hi!

ในคำสั่ง Linux คำสั่ง "find" เป็นคำสั่งที่หลากหลายที่สุด คำสั่ง "find" ใช้เพื่อค้นหาไฟล์และไดเร็กทอรีสำหรับสตริง มีคำสั่งนี้มีหลายรูปแบบ บางส่วนของพวกเขาจะกล่าวถึงด้านล่าง


ในการค้นหาไฟล์และข้อความในไดเร็กทอรี

หากต้องการค้นหาไดเรกทอรีทั้งหมดสำหรับไฟล์

ค้นหา /iname "

หากต้องการค้นหาไดเรกทอรีทั้งหมดสำหรับข้อความเฉพาะ

"ค้นหา /iname "

หากต้องการค้นหาไฟล์ด้วยความช่วยเหลือของส่วนขยาย

หา ประเภท f- ชื่อ "* .txt"

(หมายเหตุ: คุณสามารถใช้ตัวเลือกต่อไปนี้ด้วยคำสั่ง "find" เพื่อปรับการค้นหาของคุณ)

"/" - ใช้ตัวเลือกนี้เพื่อค้นหาไดเร็กทอรีทั้งหมด
"/ directory_path" - เพื่อค้นหาไดเรกทอรีที่ระบุ
"" - ในการค้นหาไดเรคทอรี่ปัจจุบัน
"-iname" - ใช้ตัวเลือกนี้สำหรับการค้นหาไม่ให้พิจารณาตัวพิมพ์เล็กและตัวพิมพ์ใหญ่
"-iname" - ใช้ตัวเลือกนี้เพื่อค้นหากรณีที่ละเอียดอ่อน

"-type f" - เพื่อค้นหาไฟล์
"-type d" - เพื่อค้นหาไดเรกทอรี

Was this reply helpful?

Related topics

  • สหภาพยุโรป AntiDDoS ระยะไกลให้บริการอุโมงค์? (สำหรับเซิร์ฟเวอร์เกม)
  • ต้องการเซิร์ฟเวอร์เพื่อการค้าทางการเงินหรือไม่
  • sBlock - Create
  • Report Bug/Feature
  • Psychz เครือข่ายเปิดตัวคุณสมบัติใหม่ที่เรียก 'เอเชียแปซิฟิกแฝงต่ำเส้นทาง'
  • Psychz ประกาศเปิดตัวศูนย์ข้อมูลยุโรปในกรุงลอนดอนและอัมสเตอร์ดัม
  • Psychz CDN Products and Features Updates
  • Load Balancing Methods
  • Learn About Anycast And Some Of Its Advantages And Disadvantages
  • How to setup a dedicated server for Avorion
  • GDPR and its impact on hosting industry!
  • Full Rack In Ashburn
  • DDoS ป้องกันเซิร์ฟเวอร์ทุ่มเทในยุโรป
  • Cloud Hosting กับ Dedicated Server - วิธีคุณเลือก?
  • Can I bring my own IP address space for bare metal servers?
Copyright © 2026 Psychz Networks,
A Profuse Solutions Inc Company
Hosting Services
  • Catalog
Infrastructure
  • iColocation
Compute
  • cMetal
  • cVirtual
Storage
  • sObject
  • sBlock
Networking
  • 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
  • Status
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