Re: bug in time?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Sa, den 07.02.2004 schrieb m l um 22:41:
> hiya,
> while running bash shell  :
> 
> [feenixxi@sandbox]$ time
> bash: syntax error near unexpected token `newline'
> 
> [feenixxi@sandbox ]$ time --help
> bash: --help: command not found
> 
> real    0m0.001s
> user    0m0.000s
> sys     0m0.001s
> 
> time command works fine in both tcsh and csh, what's wrong with bash?

No bug, read "man time". The correct syntax is "time command", like:

$ time locate foo.bar
 
real    0m0.179s
user    0m0.110s
sys     0m0.020s

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2149.nptl
Sirendipity 22:54:59 up 7 days, 21:55, load average: 0.06, 0.18, 0.14 
                   [ ÎÎÏÎÎ Ï'ÎÏÏÎÎ - gnothi seauton ]





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux