Re: bug in time?

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

 



On Sat, Feb 07, 2004 at 11:41:44PM +0200, m l wrote:
> 
> 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?

Bash uses its own internal time command, so it gives an error when you don't
pass the comand to be executed to time.

You can get bash's time help with:
1. man bash
2. help time

System's time is also available by specifying its full path:
/usr/bin/time cmd

Regards,
Luciano Rocha




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

  Powered by Linux