Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบ >> Linux

4 Essential Terminal Tools ที่ทำให้ Terminal จาก Dread กลายเป็น Delight

4 Essential Terminal Tools ที่ทำให้ Terminal จาก Dread กลายเป็น Delight

Terminal มี Reputation เป็น Intimidating และไม่ Entirely Undeserved ตอน Just Starting Out รู้สึกเหมือนต้อง Memorize 100 Commands เพื่อทำอะไรก็ได้

ผมใช้ Terminal เป็น Full-blown IDE จึงเจอ Tools เยอะที่ทำ Experience Easier แตยังมี Favorites บ้าง

4 Essential Terminal Tools ที่ทำให้ Terminal จาก Dread กลายเป็น Delight เนื้อหาที่เกี่ยวข้อง

Claude Code

มันไม่ใช่แค่ Dev Tool

รู้ว่าดู Weird แต่聽我解釋 Claude Code Actually Great Tool 如果 你 不 Entirely Familiar With Terminal 当 你 是 New Developer Staring Blank Prompt No Idea What Command Actually Need 那 是 Deeply Unpleasant Feeling Claude Code Fixes That Most Direct Way Possible

While Marketed As Development Tool Fact That It Has Full Access To Shell Means You Can Use It For Something Simpler: Just Tell It What You Want Do In Plain English Watch It Handle Rest Want Find All Files Over 100MB In Directory Never Navigated Before Just Say That

Want Kill Process Eating CPU No Idea What ps aux Means Say That Too It Figures Out Command Runs For You

Even If Already Familiar Terminal It Eliminates Surprising Amount Grunt Work I Use Regularly Things Like Setting Up SSH Configs Bulk Renaming Files Specific Patterns Chaining Commands Technically Know But Would Otherwise Look Up Exact Syntax Every Single Time That Last One Alone Saves More Time Than Admit

Do Not Blindly Accept Whatever Command LLM Suggests Always Read Before Hit Enter I Personally Never Seen Claude Try Run Something Dangerous Destructive But Stakes In Terminal Higher Than Chat Window Takes Two Seconds Glance What It's About To Do Get Into Habit

Claude Code Only Available Paid Claude Plans Which Know Deal Breaker Some People But Not Actually Stopping You Getting Same Thing Codex CLI, Gemini CLI, OpenCode All Solid Alternatives Work Similar Way Only Thing Changing Models You Use That's It

4 Essential Terminal Tools ที่ทำให้ Terminal จาก Dread กลายเป็น Delight

Claude

Developer Anthropic PBC

Price model Free, subscription available

Claude 是 一个 先进 的 人工智能 助手 由 Anthropic 开发 基于 Constitutional AI 原则 在 复杂 推理 复杂 写作 和 专业 级 编码 协助 方面 表现 出色

tldr-pages

Man, But Better

4 Essential Terminal Tools ที่ทำให้ Terminal จาก Dread กลายเป็น Delight

If Still New Terminal Someone Must Told You At Some Point Just "Read The Man Pages" And I Very Aware Official Manual Pages Look More Like Legal Contract Extremely Verbose Just Difficult Understand Sometimes They Thorough Sure But Written For People Who Already Know What Doing

If Type man tar Hoping Figure Out How Extract File You Get Four Pages Dense Documentation Leave Even More Confused

tldr-pages Is Fix For That Instead Manual You Get Short Community-written Cheat Sheet About Command Trying Understand Instead Me Trying Convince You Just Look Difference Below tldr-pages Left Man Right Both Explaining How Use Git

Using It Pretty Simple Just Type tldr Followed By Name Command For Example If Want Learn How Use Grep Just Type tldr grep Inside Terminal That's It

To Be Fair Man Pages Have Their Place Once Actually Know Tool Well Need Look Up One Very Specific Edge Case Flag Full Manual Exactly What Want

lazygit

Save Yourself From Hassle Vanilla Git

4 Essential Terminal Tools ที่ทำให้ Terminal จาก Dread กลายเป็น Delight

Unpopular Opinion: Using Git In Terminal Huge Hassle Typing git add, git commit, git push, git pull Remembering Branch Trying Stage Specific Files Adds Up None Feels Natural When Just Trying Get Something Committed

I Tried All Alternatives GitHub Desktop Or Built-in Git Integration VSCode Never Really Clicked For Me I Just Wanted Something Extremely Snappy Lived Right Inside Terminal Just Plain Simple Use That When Settled On LazyGit

It's TUI App Means Entire Interface Lives Inside Terminal You Get Proper Visual Layout Files Branches Commit History All Of It Navigate Everything Keyboard Without Remember Single Git Command

4 Essential Terminal Tools ที่ทำให้ Terminal จาก Dread กลายเป็น Delight เนื้อหาที่เกี่ยวข้อง

These 4 Linux Myths Kept Me From Trying It Years

Turns Out You Don't Have To Hack Mainframe Change Wallpaper After All

It Pretty Much Supports Every Git Feature You'll Ever Need Learning Curve Pretty Gentle Because Can See Exactly What Happening Every Step

Lazygit Available Most Package Managers So Just Install Same Way Anything Else Done Type lazygit In Any Repository Opens Right Up

aliases

Stop Typing Long Commands

4 Essential Terminal Tools ที่ทำให้ Terminal จาก Dread กลายเป็น Delight

Idea Behind Aliases Simple: Assign Short Custom Shortcut Command You Find Yourself Typing Over And Over Again From That Point On Just Type Shortcut Instead

For Example Debian-based System Instead Prompting Apt Update System Again And Again Map Alias To Command Like This:

alias update="sudo apt update && sudo apt upgrade -y"

Now All Need Do Type "update" Terminal Runs Whole Thing For You

One Thing Worth Knowing Aliases Not Persistent By Default Close Terminal Gone To Make Stick Need Add Them Shell's Config File Which Is ~/.bashrc Or ~/.zshrc Depending Shell You Use

And If Still Sounds Like Too Many Steps Just Ask Claude Code Do It For You Tell It Which Alias Want Set Up It Will Handle Whole Thing Automatically

4 Essential Terminal Tools ที่ทำให้ Terminal จาก Dread กลายเป็น Delight เนื้อหาที่เกี่ยวข้อง

It Just Takes Little Help To Get There

None These Tools Going Make Terminal Feel Effortless Overnight Still Going Throw You Off Sometimes Still Moments No Idea What Doing That Just Part Of It

But Once Clicks Especially If Developer Feels Like Superpower Stop Dreading Start Reaching For It These Tools Just Helped Me Get There Little Faster