0Pricing
Linux Command Line Mastery · บทเรียน

บทนำสู่เชลล์ Linux

ทำความเข้าใจว่าเชลล์คืออะไร มีความสำคัญอย่างไร และโต้ตอบกับเชลล์ด้วยคำสั่งพื้นฐานได้อย่างไร

บทนำสู่เชลล์ Linux เป็นบทเรียน Linux Command Line Mastery ฟรีบน CoddyKit นี่คือบทเรียนที่ 1 จากทั้งหมด 4 บทเรียน คุณสามารถอ่านบทเรียนทั้งหมดด้านล่างฟรี — จากนั้นลองปฏิบัติด้วยตัวคุณเองในเบราว์เซอร์พร้อมตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7 บทเรียนนี้เป็นส่วนหนึ่งของเส้นทางการเรียน Linux Command Line Mastery และความก้าวหน้าของคุณจะซิงค์ข้ามเว็บและแอป CoddyKit คอร์ส Linux Command Line Mastery มีบทเรียนทั้งหมด 4 บทเรียน

บางส่วนของบทเรียนนี้ยังไม่ได้รับการแปล และแสดงเป็นภาษาอังกฤษ

Welcome to the Linux Shell!

Want to talk straight to your computer? The Linux shell lets you control the OS, manage files, and automate tasks — all with text commands.

What is the Shell?

The shell is the program that sits between you and the kernel: you type commands, it interprets them, the kernel runs them. Bash is the classic one.

Shell vs. Terminal

Don’t conflate them: the shell (like Bash) interprets commands, while the terminal is just the window where you type and see output.

Your First Command: `echo`

Start simple: echo prints whatever text you give it back to the screen. Perfect for testing and quick messages.

echo "Hello, CoddyKit!"

Running Commands

To run a command, type it exactly and press Enter. The shell executes it and shows the output — mind your spelling and case, they often matter.

Anatomy of a Command

Most commands follow command [options] [arguments]: the command is the program, options tweak behavior, and arguments are what it acts on.

Another Simple Command: `date`

The date command prints your system’s current date and time — no options needed. Give it a run.

date

Clearing Your Screen: `clear`

Screen cluttered? clear wipes the terminal for a fresh prompt. It only clears the view — running processes are untouched.

clear

Practice Your New Skills!

Your turn: echo a message, run date to check the time, then clear the screen. Repetition builds muscle memory.

Quick Check: Shell Basics

Which of the following best describes the primary function of a Linux shell?

Recap & Next Steps

Nice start! The shell interprets your commands, the terminal is where you type them, and you’ve used echo, date, and clear. Next: navigation.

คำถามที่พบบ่อย

บทเรียน “บทนำสู่เชลล์ Linux” ฟรีหรือไม่

ใช่ — ข้อความเต็มของ “บทนำสู่เชลล์ Linux” ฟรีให้อ่านที่นี่บนเว็บ เพื่อปฏิบัติแบบโต้ตอบ (ตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7) และปลดล็อคส่วนที่เหลือของคอร์ส Linux Command Line Mastery ให้อัปเกรดเป็น CoddyKit PRO คอร์ส Linux Command Line Mastery มีบทเรียนทั้งหมด 4 บทเรียน

คุณจะเรียนรู้อะไรในบทเรียน “บทนำสู่เชลล์ Linux”

ทำความเข้าใจว่าเชลล์คืออะไร มีความสำคัญอย่างไร และโต้ตอบกับเชลล์ด้วยคำสั่งพื้นฐานได้อย่างไร คุณปฏิบัติ Linux Command Line Mastery ด้วยโค้ดที่ใช้งานได้จริงที่คุณเรียกใช้โดยตรงในเบราว์เซอร์ และติวเตอร์ AI ตลอด 24/7 ตอบคำถามของคุณขณะที่คุณไปผ่านบทเรียน

คุณต้องมีประสบการณ์ก่อนที่จะเริ่มเรียน Linux Command Line Mastery หรือไม่

ไม่จำเป็นต้องมีประสบการณ์มาก่อน Linux Command Line Mastery บน CoddyKit ออกแบบมาสำหรับผู้เริ่มต้นไปจนถึงผู้เรียนขั้นสูง คุณสามารถเริ่มต้นที่นี่หรือเริ่มจากตัวแรกและเรียนด้วยความเร็วของคุณเอง นี่คือบทเรียนที่ 1 จากทั้งหมด 4 บทเรียน

บทเรียน “บทนำสู่เชลล์ Linux” ใช้เวลานานแค่ไหน

บทเรียน CoddyKit ส่วนใหญ่ใช้เวลาประมาณ 5–10 นาที แต่ละบทเรียนจึงสั้นและเป็นแบบโต้ตอบ คุณสามารถก้าวหน้าอย่างต่อเนื่องและกลับมาเรียนต่อจากตรงที่เพิ่งหยุดบนเว็บและแอปได้เลย

ฉันเขียนและรันโค้ดในบทเรียน Linux Command Line Mastery นี้ได้ไหม

ได้ บทเรียน Linux Command Line Mastery ทุกบทมีตัวแก้ไขโค้ดในตัว คุณจึงเขียนและรันโค้ดจริงได้เลยในเบราว์เซอร์ และได้รับข้อเสนอแนะจาก AI ในทันที — ไม่ต้องติดตั้งในเครื่องของคุณ

บทเรียนทั้งหมดในหลักสูตรนี้

  1. บทนำสู่เชลล์ Linux
  2. การนำทางเบื้องต้น: `cd`, `ls`, `pwd`
  3. การจัดการไฟล์และไดเรกทอรี: `mkdir`, `rm`, `cp`, `mv`
  4. การขอความช่วยเหลือ: man, --help และ tldr
← กลับไปที่ Linux Command Line Mastery