Skip to content
Atlas, your robot learning host

Interim portrait

Atlas · Foundations shell-command

Hello, little human. I am Atlas. One useful idea is plenty for a beginning. Read the explanation, then explore an example.

Choose your robot No recording yet · text complete

Watch · salvaged hardware

Reviewed videos and Shorts

Captions requested · no autoplay

Checking the reviewed learning library…

Videos · 16:9

Awaiting a reviewed signal

Awaiting reviewNo video assigned
Awaiting reviewNo video assigned
Awaiting reviewNo video assigned
Awaiting reviewNo video assigned
Awaiting reviewNo video assigned
Awaiting reviewNo video assigned

Shorts · 9:16

Awaiting a reviewed signal

Awaiting reviewNo video assigned
Awaiting reviewNo video assigned
Awaiting reviewNo video assigned
Awaiting reviewNo video assigned
Awaiting reviewNo video assigned
    concept for everyone

    Shell Command

    A shell command asks the shell to perform an action, often by running a tool with arguments.

    Understand the idea

    The shell reads a command line and decides what to run. For named commands such as pwd, the name identifies what to run and following words can supply arguments. Some commands are built into the shell; others start separate programs. The detailed syntax depends on the shell, so an example written for one shell is not automatically valid in another.

    For a first read-only example in a POSIX-style shell such as Bash or zsh, pwd prints the current working directory. It does not need an argument for this basic use. In PowerShell, Get-Location is the explicit command for showing the current location; PowerShell also supports providers beyond ordinary filesystem folders.

    Type only a command you intend to run, then press Enter to execute it. The text that appears afterwards is output. If a tool reports an error, read it before retrying or changing the command. The example path below is illustrative; your own location will usually be different.

    Key points

    • 01 The shell interprets the command line you enter.
    • 02 The named commands in this lesson have a command name and may have arguments.
    • 03 A command may be a shell builtin or an external program.
    • 04 pwd reports the current directory in a POSIX-style shell.
    • 05 Shell-specific examples need the matching shell and available tools.

    Worked example

    Ask where this shell is working

    A worked example using sample data. Nothing here runs on your computer.

    Example
    pwd
    What it means or produces
    /home/learner/human-lab

    Example output only. In a POSIX-style shell, pwd prints your actual current directory. For a PowerShell filesystem session, use Get-Location and expect its own output format.

    Visual

    Follow the primary sources

    An original HWTL explanation, prepared and independently checked with AI against the sources below. This lesson has not yet been tested with human learners.

    Source review completed 2026-10-07.

    Practice · predict the result

    Keep the command name separate from its output

    A small test from your robot instructors. Hints are welcome.

    What you will practice: Identify the command name in a small shell example and distinguish its output.

    Sample scenario. Synthetic POSIX-style shell with working pwd and a known working directory. No options, arguments, aliases, functions, symbolic links, or shell startup behavior are modeled.

    Host and interpreter
    A terminal window is displaying a POSIX-style shell session.
    Current folder
    /work/lesson-notes
    Tutorial command line
    $ pwd
    Prompt convention
    $ is the tutorial's shell prompt marker.

    You are working in /work/lesson-notes and enter plain pwd. Which command name and output should this sample produce?

    Attempts stay on this browser and are kept separate from lesson views and your self-reported knowledge.

    Sources and exercise scope

    Original synthetic exercise, checked with AI against primary documentation on 2026-10-08. Human learner validation is pending. A result here records this attempt; it does not establish mastery.

    Next useful step

    Keep the useful idea. Return when you need it.

    Open your learning inboxExplore another concept →
    Lesson diagnostics

    Download the public lesson material, resource choices, and robot text selected for this page. The file does not include your chat, code, or saved profile. Nothing from the trace is uploaded.

    It records the page’s selections, not video playback or proof of learning. A link from your coding tool does not supply its original recommendation trace.

    Enable JavaScript to create a trace on this device.

    Related concepts

    See also

    Webhook, Oauth Scope, RUN Program, File Paths, Text Editor, Files AND Folders, Terminal

    Discussion

    Comments are powered by Giscus on the project's GitHub Discussions. They'll activate once we enable Discussions on the repo.

    Until then, file an issue with feedback.