mardi 16 décembre 2008

bash 'type' function

$ type echo
echo is a shell builtin

$ type toto
bash: type: toto: not found

$ type which
which is /usr/bin/which



NAME
type - write a description of command type

SYNOPSIS
type name...

DESCRIPTION
The type utility shall indicate how each argument would be interpreted
if used as a command name.

Aucun commentaire:

Enregistrer un commentaire