Module 1 – Terminal Basics
TH: โมดูลนี้เน้นให้ผู้เรียนใช้เทอร์มินัลได้อย่างไม่กลัว เรียนรู้คำสั่งพื้นฐานที่ใช้ทุกวัน
EN: This module focuses on essential terminal commands used in daily Linux work.
TH: โมดูลนี้เน้นให้ผู้เรียนใช้เทอร์มินัลได้อย่างไม่กลัว เรียนรู้คำสั่งพื้นฐานที่ใช้ทุกวัน
EN: This module focuses on essential terminal commands used in daily Linux work.
TH – บทนำ เป้าหมายคือให้ผู้เรียน: เปิดเทอร์มินัลเป็น รู้ว่าพื้นที่ทำงานปัจจุบันอยู่ที่ไหน ใช้คำสั่งพื้นฐานได้ เช่น pwd, ls, cd, clear EN – Introduction Goals: Open the terminal Understand current working directory Run basic commands: pwd, ls, cd, clear TH – เนื้อหาหลัก วิธีเปิดเทอร์มินัลจาก desktop คำสั่ง pwd เพื่อดูตำแหน่งปัจจุบัน คำสั่ง ls เพื่อดูไฟล์และโฟลเดอร์ คำสั่ง cd เพื่อเปลี่ยนโฟลเดอร์ คำสั่ง clear เคลียร์หน้าจอ EN – Main Content How to launch the terminal pwd to print working directory ls to list files cd to change directories clear to clear the screen Vocabulary (TH + EN) Terminal – เทอร์มินัล – A text-based interface to the system Shell – เชลล์ – Program that interprets commands Exercises ให้ผู้เรียนลองใช้ pwd, ls, cd, clear หลาย ๆ รอบในโฟลเดอร์ต่าง ๆ
Working With Files TH – บทนำ สอนให้ผู้เรียนจัดการไฟล์พื้นฐานจากเทอร์มินัล: สร้างไฟล์ คัดลอก ย้าย ลบ เปิดอ่านไฟล์แบบง่าย EN – Introduction Teach basic file operations: Create, copy, move, delete files View file contents TH – เนื้อหาหลัก สร้างไฟล์ด้วย touch ดูเนื้อไฟล์ด้วย cat, less, head, tail คัดลอกไฟล์ด้วย cp ย้ายหรือเปลี่ยนชื่อไฟล์ด้วย mv ลบไฟล์ด้วย rm และคำเตือนเรื่องการลบ EN – Main Content touch to create empty files cat, less, head, tail to view contents cp to copy files mv to move or rename files rm to delete files (and why to be careful) Vocabulary (TH + EN) Copy – คัดลอก – Make a duplicate of a file Move – ย้าย – Move file to a different location or rename it Exercises ให้ผู้เรียนสร้างไฟล์ตัวอย่าง คัดลอก ย้าย และลบด้วยตัวเอง
Linux Permissions Basics TH – บทนำ สอนแนวคิดพื้นฐานเรื่องสิทธิ์: owner / group / others read / write / execute การดู permission ด้วย ls -l EN – Introduction Teach Linux permission model: owner / group / others r / w / x ls -l overview TH – เนื้อหาหลัก อ่านผล ls -l จาก permission string เช่น -rwxr-xr-- ความหมายของ r, w, x ใช้ chmod แบบง่าย ๆ แนวคิดเรื่องการใช้สิทธิ์ให้ปลอดภัย EN – Main Content Read permission strings from ls -l Meaning of r, w, x Simple chmod usage High-level security considerations Vocabulary (TH + EN) Permission – สิทธิ์ – What a user is allowed to do with a file Owner – เจ้าของไฟล์ – The user who owns the file Exercises ให้ผู้เรียนลองใช้ ls -l ดูสิทธิ์ของไฟล์ต่าง ๆ และอธิบายความหมาย