Terminal 10xTerminal 10x
พื้นฐาน command line สำหรับมืออาชีพที่อยากมั่นใจกับเครื่องมือ dev และ AI agentCommand-line foundations for professionals building confidence with dev tools and AI agents.
หกบทเรียน · เริ่มต้นได้Six lessons · start anywhere
คู่มือเริ่มต้นใช้ command line สำหรับมือใหม่a beginner's guide to the command line
ทำความรู้จัก 6 คำสั่ง terminal พื้นฐานที่ช่วยให้ command line เข้าใจง่ายขึ้น พร้อม terminal แบบโต้ตอบให้ลองเล่นได้เลยในหน้านี้learn the 6 essential terminal commands that make the command line feel usable, with an interactive terminal you can practice in right here
จัดการไฟล์โดยไม่ต้องกลัวfiles without fear
สร้าง อ่าน คัดลอก ย้าย เปลี่ยนชื่อ และลบไฟล์จาก terminal พร้อมกฎสำคัญที่สุดที่ต้องรู้: `rm` ไม่มีถังขยะcreate, read, copy, move, rename, and delete files from the terminal — with the most important safety rule: `rm` has no Trash
pipes, redirects และการค้นหาให้เจอpipes, redirects, and finding things
ต่อคำสั่งเข้าด้วยกันด้วย `|`, บันทึก output ด้วย `>` และ `>>`, และค้นหาข้อความให้เจอโดยไม่ต้องไล่อ่านทีละบรรทัดcombine commands with `|`, save output with `>` and `>>`, and search text without reading every line by hand
ติดตั้งเครื่องมือบน macOS ด้วย Homebrewinstalling tools on macOS with Homebrew
ติดตั้ง Homebrew, ใช้ `brew install` และ `brew upgrade`, แล้วเข้าใจว่าทำไมคำสั่งที่เพิ่งติดตั้งไปยังอาจขึ้นว่า `command not found` ได้install Homebrew, use `brew install` and `brew upgrade`, and understand why a newly installed command can still say `command not found`
PATH และตัวแปรแวดล้อมPATH and environment variables
ใช้ PATH เป็นตัวแปรแวดล้อมตัวแรกของคุณ แล้วใช้ `echo $PATH`, `which`, และ `export` เพื่อเข้าใจว่า shell หาคำสั่งเจอได้อย่างไร และทำไมวิธีแก้บางอย่างถึงหายไปเมื่อเปิดหน้าต่างใหม่use PATH as your first environment variable, then use `echo $PATH`, `which`, and `export` to understand how your shell finds commands and why a fix can disappear in a new window
shell config บน macOSshell config on macOS
เข้าใจความต่างระหว่าง Terminal กับ shell, แก้ `~/.zshrc`, โหลดค่ากลับเข้ามาด้วย `source ~/.zshrc`, และเพิ่ม alias ให้ใช้งานได้จริงแบบไม่หายunderstand Terminal vs shell, edit `~/.zshrc`, reload with `source ~/.zshrc`, and add aliases that actually stick