•  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

  • โซลูชันการสำรองข้อมูลเซิร์ฟเวอร์
  • เซิร์ฟเวอร์ Dedicated Server 1 กิกะบิตต่อวินาที
  • ศูนย์ข้อมูลการออกแบบปฏิบัติที่ดีที่สุด
  • วิทยาศาสตร์ Linux และคุณลักษณะของมัน
  • พยายามที่จะส่งเสริมทั่วโลก Broadband Access ไม่ทำให้ความคืบหน้ามาก
  • cVirtual Images
  • The Ultimate Guide to Choosing the Best Data Center Location
  • Psychz Networks Launches New Data Center in Moscow, Russia
  • How to install an Operating System using the API?
  • How to change user password in Linux?
  • How to Create a Header Override
  • Dedicated Server 1000 Mbps Unmetered
  • Create TXT record
  • Create Cache Bypass
  • Ark Dedicated Server Hosting
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