Type (Unix)

De Wikipédia, l'encyclopédie libre

type est une commande POSIX qui permet de savoir comment le système interprète telle ou telle commande.

Faits en bref Créateur, Système d'exploitation ...
Type
Thumb
Informations
Créateur American Telephone & Telegraph
Système d'exploitation Unix et type Unix
Environnement Multiplateforme (en)
Type Utilitaire UNIX (d)
Fermer

Exemples

$ 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
$ type -a gzip
gzip is /opt/local/bin/gzip
gzip is /usr/bin/gzip


Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.