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

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

  • 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

  • เซิร์ฟเวอร์การขายปลีกเฉพาะ
  • ศูนย์ข้อมูลการออกแบบปฏิบัติที่ดีที่สุด
  • พยายามที่จะส่งเสริมทั่วโลก Broadband Access ไม่ทำให้ความคืบหน้ามาก
  • ค่าใช้จ่ายเท่าไรในการโฮสต์เซิร์ฟเวอร์ Minecraft
  • การตั้งค่าเซิร์ฟเวอร์ได้ทันที
  • cVirtual Connect From Linux
  • Why AT&T-Time Warner Merger Is Bad News for Everyone
  • What is IPMI? Benefits and Drawbacks?
  • Unmetered Dedicated Server Hosting for SaaS: 5 Reasons to Ditch the Cloud
  • Tools That Make Kubernetes Easier
  • Secure Token Integration For PHP (Secondary)
  • SSH Connection refused
  • LXD vs Docker
  • Change Logs
  • CDN SSL Intro
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