Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

type(1) OSS Shell and Utilities Reference Manual
NAME
type - Returns type and location of commands
SYNOPSIS
type argument
DESCRIPTION
The type command returns the location of the command name given as argument. The type
command is an alias to the whence -v command, another shell built-in command.
EXAMPLES
1. The following example returns the command type and location of the grep command.
type grep
grep is a tracked alias for /bin/grep
In this example, the name grep is a tracked alias for the grep command located at
/bin/grep.
NOTES
The type command is a shell built-in command. It differs from the regular commands in that it
does not open a new shell process when it executes.
A general discussion of shell built-in commands and a list of the OSS shell built-in commands
are in the reference page for sh(1).
RELATED INFORMATION
Commands: sh(1), whence(1).
924 Hewlett-Packard Company 527188-007