Mailinglist Archive: opensuse (2875 mails)
| < Previous | Next > |
Re: [opensuse] time command
- From: Aaron Kulkis <akulkis3@xxxxxxxxxx>
- Date: Fri, 18 May 2007 14:16:00 -0400
- Message-id: <464DED60.5060503@xxxxxxxxxx>
Randall R Schulz wrote:
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)
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
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: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |