Type (Unix)

Type (Unix)

type is a Unix command that displays how a name would be interpreted if used as a command.

yntax

type name

Description

The type command display how a name would be interpreted as a command. Where applicable type will display the name's path. Possible command types are:
* shell built-in
* function
* alias
* hashed command
* keyword

Exit Status

This command returns the following exit values:
*0 The standard input was successfully copied to all output files.
*>0 An error occurred.

Examples

$ type test test is a shell builtin $ type cp cp is /bin/cp $ type unknown -bash: type: unknown: not found $ type type type is a shell builtin


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Type UNIX — Graphique montrant les relations entre les différents systèmes de types Unix existants. Un système d’exploitation de type Unix est un système d’exploitation qui se comporte d’une façon semblable à un système Unix, bien que n’étant pas… …   Wikipédia en Français

  • Type Unix — Graphique montrant les relations entre les différents systèmes de types Unix existants. Un système d’exploitation de type Unix est un système d’exploitation qui se comporte d’une façon semblable à un système Unix, bien que n’étant pas… …   Wikipédia en Français

  • UNIX — UNIX, parfois écrit « Unix », avec des petites capitales, est un système d exploitation multitâche et multi utilisateur créé en 1969, conceptuellement ouvert et fondé sur une approche par laquelle il offre de nombreux petits outils… …   Wikipédia en Français

  • Unix — (marque déposée officiellement comme UNIX, parfois aussi écrit comme Unix avec les petites capitalisations) est le nom d un système d exploitation multitâche et multi utilisateur créé en 1969, conceptuellement ouvert et fondé sur une approche par …   Wikipédia en Français

  • Unix File System — UFS, abréviation de Unix File System, est un système de fichiers utilisé par de nombreux systèmes d exploitation de type Unix. Il est dérivé du FFS, qui lui même était basé sur le FS, dans les premières versions d Unix développées aux Bell Labs.… …   Wikipédia en Français

  • Unix time — Unix time, or POSIX time, is a system for describing points in time, defined as the number of seconds elapsed since midnight Coordinated Universal Time (UTC) of January 1 1970, not counting leap seconds. It is widely used not only on Unix like… …   Wikipedia

  • Unix — (officially trademarked as UNIX, sometimes also written as Unix with small caps) is a computer operating system originally developed in 1969 by a group of AT T employees at Bell Labs, including Ken Thompson, Dennis Ritchie, Douglas McIlroy, and… …   Wikipedia

  • Unix — (registrado oficialmente como UNIX®) es un sistema operativo portable, multitarea y multiusuario; desarrollado, en principio, en 1969 por un grupo de empleados de los laboratorios Bell de AT T, entre los que figuran Ken Thompson, Dennis Ritchie y …   Wikipedia Español

  • Unix security — Unix security: maintaining a secure environment on Unix and Unix like operating systems is dependent on design concepts of these operating systems, but vigilance through user and administrative techniques is important to maintain security… …   Wikipedia

  • Unix-Kommandos — Unix Systeme zeichnen sich durch eine Vielzahl von Kommandos aus, mit denen sich über eine Shell das Betriebssystem bedienen lässt. Die Syntax dieser Kommandos weicht unter den verschiedenen Systemen voneinander ab. Es existieren die beiden… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”