Run which nano.
which nano
Use which to understand how shells find commands.
Terminal basicswhich
Click any instruction for the command details, the why, and the common mistake to avoid.
Run which nano.
which nano
Run which systemctl.
which systemctl
Run which ufw.
which ufw
Create a free account to sync completed lessons, XP, streaks, course status, and your next lesson across sessions.
Checking account status...
Progress sync is idle.
Progress sync stores completion IDs, scores, streaks, badges, and game settings. Terminal contents, editor snippets, lab scratch, email, and real names are never published on leaderboards or share cards.
Understand PATH lookup at a beginner-friendly level.
Try which nano and which systemctl.
Knowing where commands come from helps debug confusing PATH issues.
which <command>
Locate command paths.