Randall R Schulz wrote:
On Friday 18 May 2007 10:16, Herbert Georg wrote:
Hi all,
I'm trying to use the command "time" to access information about a
job, but without success.
The man page tells me that I can use options to time, like:
...
but nothing of this works. All I get is (in the last example):
bash: --help: command not found
...
I get the same thing in all option cases.
Why doesn't it accept any option, and keep interpreting the options
as the commands?
Time exists both as a BASH built-in and as a binary executable. The man
page for time describes the executable. Information about the BASH
built-in is available in the BASH man page or via "help time".
And the "which" comamnd is your friend
as in
$ which time
Be aware that
$ which which
can also yield interesting results
(hint, there is /usr/bin/which and also built-in versions in
ksh, pdksh, bash, and possibly csh and tcsh)
Randall Schulz
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]