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

Reading files · ⁨การอ่านไฟล์⁩

English

Reading a file

  • cat prints a file's contents straight to the screen:
  • It is named after "concatenate" — it can also join several files together.

ไทย

อ่านไฟล์

  • คำสั่ง cat จะพิมพ์เนื้อหาไฟล์ตรงลงหน้าจอ:
cat poem.txt
  • ชื่อมาจากคำว่า "concatenate" — มันยังสามารถรวมไฟล์หลายไฟล์เข้าด้วยกันได้

head แสดงบรรทัดแรก, tail แสดงบรรทัดสุดท้าย, wc นับจำนวน

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

IGCSE, A-Level & AP