Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2005 18:06:59 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        "P. B. S." <avenger@vip.bg>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: time -l date   ==> bash: -l: command not found        Bug?
Message-ID:  <20050225020659.GA75395@xor.obsecurity.org>
In-Reply-To: <002001c51add$d515d6c0$3564015a@apise6e37e23bb>
References:  <002001c51add$d515d6c0$3564015a@apise6e37e23bb>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 25, 2005 at 04:00:49AM +0200, P. B. S. wrote:
> "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)

Kris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050225020659.GA75395>