Skip to content
masterclass Buddy

Linux & Shell · Concept

Exit codes

The POSIX command utility runs a command while skipping shell function lookup. Its inspection options show how the current shell would resolve a command name.

Last updated

Syntax

command [ -p ] command_name [ argument ... ]
command [ -p ] [ -v | -V ] command_name

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • exit
  • command search and execution
  • shell function lookup

Source: command(1p) - Linux manual page. Checked 2026-11-03.