Described at
The type utility shall indicate how each argument would be interpreted if used as a command name. Provide a default value for the internationalization variables that are unset or null. (See XBD Internationalization Variables for the precedence of internationalization variables used to determine the values of locale categories.) If set to a non-empty string value, override the values of all the other internationalization variables. Determine the locale that should be used to affect the format and contents of diagnostic messages written to standard error. Determine the location of message catalogs for the processing of LC MESSAGES. The standard output of type contains information about each operand in an unspecified format. The information provided typically identifies the operand as a shell built-in, function, alias, or keyword, and where applicable, may display the operand's pathname.
Excerpt from a page describing this subject · 5,009 chars · not written by Vinony
Wikidata facts
- Creator
- AT&T Corporation
- Platform
- cross-platform
- Image
- Type command example.png
Show 5 more facts
- described at URL
- pubs.opengroup.org/onlinepubs/9699919799/utilities/type.html
- reads environment variable
- PATH
- operating system
- Unix-like operating system
- publication date
- 1984-00-00
- copyright holder
- Institute of Electrical and Electronics Engineers
Sources (7)
via Wikidata · CC0
Article · Русский
type (МФА: [taɪp]; с англ. — «тип») — unix-утилита, возвращающая тип введённой команды. Команда может быть встроенной командой, программой, , ключевым словом или функцией. Если тип команды — программа, то выдаётся путь к ней. Команда type также может использоваться для проверки, есть ли команда с данным именем (например, такая проверка может потребоваться перед созданием алиаса). Команда доступна в виде отдельного пакета для Microsoft Windows как часть коллекции Win32-портов GNU утилит. В оболочке Korn команда whence предоставляет аналогичную функциональность.
Abstract from DBpedia / Wikipedia · CC BY-SA