[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] gnu time
- Subject: [ale] gnu time
- From: bg-ale at bjorng.net (Björn Gustafsson)
- Date: Wed, 17 Feb 2010 13:41:06 -0500
- In-reply-to: <[email protected]>
- References: <[email protected]>
On Wed, Feb 17, 2010 at 1:21 PM, Jim Kinney <jim.kinney at gmail.com> wrote:
> The "time" command is a useful tool
>
> What is being called when I exclude the full path? A locate produced lots of
> stuff with "time" in the name but only the /usr/bin/time was an executable.
bash -c 'which time'
/usr/bin/time
bash -ic 'which time'
time is a shell keyword
The `time' that is vexing you is a shell keyword similar to `while',
the difference being that it's only implemented for interactive shells
in bash. Technically it is not considered a shell builtin, but
functionally that's what it amounts to.
--
Bj?rn Gustafsson