Skip to main content

    Software & Tools

    The Command Line Isn't Scary: A Gentle Introduction

    Learn the basics of using the terminal on any computer — it's simpler than you think and incredibly useful.

    Difficulty: Advanced8 min read
    WindowsMac
    Hacker News (Y Combinator) logo

    Simplified from original source

    Originally published by Hacker News (Y Combinator)

    March 18, 2026
    1. What is the terminal?

      The terminal (or command line) is a text-based way to control your computer. Instead of clicking, you type commands. It sounds old-fashioned but it's faster for many tasks and gives you more control.

    2. Open the terminal

      Windows: search "Terminal" or "PowerShell" in the Start menu. Mac: open Applications > Utilities > Terminal. You'll see a blinking cursor waiting for your commands.

    3. Navigate folders

      Type "cd Documents" to move into your Documents folder. Type "cd .." to go back up. Type "ls" (Mac) or "dir" (Windows) to list files in the current folder. Type "pwd" to see where you are.

    4. Do useful things

      Create a folder: "mkdir MyFolder". Copy a file: "cp file.txt backup.txt" (Mac) or "copy file.txt backup.txt" (Windows). Delete a file: "rm file.txt" (Mac) or "del file.txt" (Windows).

    5. Why bother?

      The terminal can rename 500 files in seconds, automate repetitive tasks, manage system settings not available in menus, and is required for many developer tools. Even basic knowledge is valuable.

    Was this article helpful?

    Your feedback helps us improve our guides.

    About this article: This guide was simplified and rewritten by TekSure from content originally published by Hacker News (Y Combinator). We make it easier to read for everyday users — no jargon, just plain steps. View the original article. Learn about our content sources.

    The Command Line Isn't Scary: A Gentle Introduction — TekSure