Mission 305

Builtins and executable paths

Compare shell builtins with commands found on PATH.

Terminal basics
8 minutes Core Lesson 305 of 360
typewhich
Lesson 305 of 360 0/360 lessons 0/17 missions Terminal basics · 8 minutes
0%
Continue View profile
Ops lab terminal Training lab
New learnerrank 0XP 0%complete
learner@clairos:/home/learner $ Unix ops lab: type a command, press Enter
Instructions 8 minutes

Click any instruction for the command details, the why, and the common mistake to avoid.

Identify a builtin

Run type cd.

type cd
Identify an executable

Run type ls.

type ls
Print the executable path

Run which ls.

which ls
Lesson support

What to notice while you play.

Objective

Build repeatable confidence with distinguishing shell builtins from executable commands.

Hint

Start with type cd, inspect the result, then continue in order.

Why it matters

Distinguishing shell builtins from executable commands helps operators explain what they know before they change anything.

Common mistakes
  • Skipping the output that proves distinguishing shell builtins from executable commands.
  • Changing several things before recording a baseline.
Reference

Commands in this lesson.

which <command>

Locate command paths.

type <command>

Explain whether a command is built in or found on the simulated PATH.