Name

whence

Synopsis

    whence [options]commands

Korn shell only. Show whether each command name is a Unix command, a built-in command, a defined shell function, or an alias.

Options

-a

Print all interpretations of commands. ksh93 only.

-f

Skip the search for shell functions. ksh93 only.

-p

Search for the pathname of commands.

-v

Verbose output.

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.