From Bugzilla Helper: User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.3-12smp i686) Description of problem: time does not take any arguments e.g.: [dima@cholla dima]$ time --version bash: --version: command not found real 0m0.002s user 0m0.000s sys 0m0.000s How reproducible: Always Steps to Reproduce: 1.install time-1.7-13.rpm 2. run 'time --version' 3. see error message Actual Results: On RH7.1 [dima@cholla dima]$ time --version bash: --version: command not found real 0m0.002s user 0m0.000s sys 0m0.000s [dima@cholla dima]$ rpm -qf /usr/bin/time time-1.7-13 Expected Results: On RH6.2 system: [root@sage /root]# time --version GNU time 1.7 [root@sage /root]# rpm -qf /usr/bin/time time-1.7-9 [root@sage /root]# Additional info: pretty much stock rh7.1 with all recent updates.
you are starting the bash builtin version of time. I am not sure if the absence of --version is a bug or not.. Florian La Roche
the same is true for the tcsh version. time does not take any options at all. Even (at least some of) the examples cited in the info pages do not execute.
Well, time is a reserved keyword in bash and additionally an internal command, so if you want to use the binary /usr/bin/time you need to say so. Read ya, Phil