Hello everybody ,
i want use option for time command but it doesn't work because intepreted
anything as argument :
$time --version
bash: --version: command not found
Thank you
On 05/04/11 17:40, Fabio Dellacorte wrote:
Hello everybody ,
i want use option for time command but it doesn't work because
intepreted anything as argument :
You may have better luck with the standalone "time"
$ /usr/bin/time --version
GNU time 1.7
$time --version
bash: --version: command n
On 2011-04-05 11:40:51 Fabio Dellacorte wrote:
>i want use option for time command but it doesn't work because intepreted
>anything as argument :
>
>$time --version
>bash: --version: command not found
bss@dellbuntu:~$ time --version
bash: --version: command not found
real0m0.001s
user0m0
Boyd Stephen Smith Jr. wrote:
> GNU time 1.7
> bss@dellbuntu:~$ type time
> time is a shell keyword
>
> (Bash has a time "builtin" that you should avoid if you want to use the time
> binary.)
Actually it's a keyword not a builtin. By contrast, "kill":
chrisj@alice$ type kill
kill is a shell b
In <4d9c342a.1090...@shadowcat.co.uk>, Chris Jackson wrote:
>Boyd Stephen Smith Jr. wrote:
>> GNU time 1.7
>> bss@dellbuntu:~$ type time
>> time is a shell keyword
>>
>> (Bash has a time "builtin" that you should avoid if you want to use the
>> time binary.)
>
>Actually it's a keyword not a builti
Boyd Stephen Smith Jr. wrote:
> In <4d9c342a.1090...@shadowcat.co.uk>, Chris Jackson wrote:
>>Boyd Stephen Smith Jr. wrote:
>>> GNU time 1.7
>>> bss@dellbuntu:~$ type time
>>> time is a shell keyword
>>>
>>> (Bash has a time "builtin" that you should avoid if you want to use the
>>> time binary.)
* 2011-04-05T14:02:34-05:00 * Boyd Stephen Smith, Jr. wrote:
> bss@dellbuntu:~$ type time
> time is a shell keyword
There is also this useful option "-a":
$ type -a time
time is a shell keyword
time is /usr/bin/time
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
On 06/04/11 02:40, Fabio Dellacorte wrote:
> Hello everybody ,
> i want use option for time command but it doesn't work because
> �intepreted anything as argument :
>
>
> $time --version
> bash: --version: command not found
>
>
> Thank you
>
Time *requires* a command before any arguments - h
Scott Ferguson writes:
> Time *requires* a command before any arguments
That's the builtin. Try "/usr/bin/time --version".
--
John Hasler
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: ht
On 12/04/11 22:40, John Hasler wrote:
> Scott Ferguson writes:
>> Time *requires* a command before any arguments
>
> That's the builtin. Try "/usr/bin/time --version".
'Thanks John', but, please, read the original post:-
http://lists.debian.org/debian-user/2011/04/msg00446.html
Cheers
--
Tutt
10 matches
Mail list logo