time -l date ==> bash: -l: command not found Bug?
Parv
parv at pair.com
Fri Feb 25 09:17:16 GMT 2005
in message <20050225020659.GA75395 at xor.obsecurity.org>,
wrote Kris Kennaway thusly...
>
> On Fri, Feb 25, 2005 at 04:00:49AM +0200, P. B. S. wrote:
PBS, Do wrap lines around 69 or so characters to give me no
incentive to ignore your mail otherwise.
> > "time" doesn't seem to accept any options. The first thing on
> > the line after "time" is taken as the utility to execute. I need
> > the -l option. Am I misusing "time" or what?
>
> Your shell (apparently bash) provides a builtin time function. If
> you want to use FreeBSD's time(1) binary, call it by absolute path
> (/usr/bin/time)
Look also in bash(1) man page which states somewhere to use '\' in
order to use the real command (as it appears in $PATH of course) and
avoid built-in/alias.
- Parv
--
More information about the freebsd-questions
mailing list