Skip to content · ⁨ข้ามไปยังเนื้อหา⁩
English

One command, many files

  • A wildcard is a symbol that stands for "anything". The most common is *.
  • *.txt means "every name ending in .txt". The shell fills in the matches for you:

ไทย

คำสั่งเดียวสำหรับหลายไฟล์

  • Wildcard เป็นสัญลักษณ์แทนคำว่า "อะไรก็ได้" ที่พบบ่อยที่สุดคือ *
  • คำสั่ง *.txt หมายความว่า "ทุกชื่อที่ลงท้ายด้วย .txt" Shell จะเติมชื่อที่ตรงกับเงื่อนไขให้คุณ:
ls *.txt

ls *.txt ตรงกับทุกชื่อที่ลงท้ายด้วย .txt และข้ามส่วนที่เหลือ

Log in or create account · ⁨เข้าสู่ระบบหรือสร้างบัญชี⁩

IGCSE, A-Level & AP