DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

type(C)


type -- determine command type

Syntax

type command ...

Description

type indicates how each command is interpreted by the shell. type identifies each command as a shell built-in command, function, alias, or keyword. Where applicable, type will display the pathname of the command.

Examples

type bg cp lp r foo might produce the following output:
   bg is a shell builtin
   cp is a tracked alias for /bin/cp
   lp is /usr/bin/lp
   r is an exported alias for fc -e -
   foo is a function

Limitations

type is implemented as a built-in command in the Korn Shell.

See also

ksh(C)

Standards conformance

type is conformant with:

ISO/IEC DIS 9945-2:1992, Information technology - Portable Operating System Interface (POSIX) - Part 2: Shell and Utilities (IEEE Std 1003.2-1992);
X/Open CAE Specification, Commands and Utilities, Issue 4, 1992.


© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003