From owner-freebsd-questions@FreeBSD.ORG Fri Feb 25 09:17:16 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8609C16A4CE for ; Fri, 25 Feb 2005 09:17:16 +0000 (GMT) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DDFD43D58 for ; Fri, 25 Feb 2005 09:17:16 +0000 (GMT) (envelope-from parv@pair.com) Received: from default.chvlva.adelphia.net ([69.160.65.223]) by mta9.adelphia.netESMTP <20050225091715.ZGDR23140.mta9.adelphia.net@default.chvlva.adelphia.net>; Fri, 25 Feb 2005 04:17:15 -0500 Received: by default.chvlva.adelphia.net (Postfix, from userid 1000) id 42D01B4FF; Fri, 25 Feb 2005 04:17:40 -0500 (EST) Date: Fri, 25 Feb 2005 04:17:40 -0500 From: Parv To: "P. B. S." Message-ID: <20050225091740.GA10592@holestein.holy.cow> Mail-Followup-To: "P. B. S." , freebsd-questions@freebsd.org References: <002001c51add$d515d6c0$3564015a@apise6e37e23bb> <20050225020659.GA75395@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050225020659.GA75395@xor.obsecurity.org> cc: freebsd-questions@freebsd.org Subject: Re: time -l date ==> bash: -l: command not found Bug? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: f-q List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2005 09:17:16 -0000 in message <20050225020659.GA75395@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 --