Red Hat Linux 9 Professional Secrets [Electronic resources]

Naba Barkakati

نسخه متنی -صفحه : 341/ 270
نمايش فراداده

type

Purpose

Display the type of a command (whether it is a built-in shell command or a separate executable program).

Syntax

type

command

Options

None

Description

The

type command tells you the type of a command-whether it is a built-in shell command, an alias, or an executable program. For example, I use

alias ll='ls -l' to define the alias

ll . Here is what I get when I check the type of the command

ll :

type ll ll is aliased to `ls -l'