Re: Time error
On Sunday 16 January 2005 19:52, Robert Cohen wrote:
> When I run the command "time" it returns an error
> -bash: syntax error near unexpected token 'newline'
> Ideas?
"time" is used to time the execution of a command. Example:
$ time ls -lR
[...]
real 0m2.951s
user 0m0.090s
sys 0m0.070s
$
This means it took almost 3 seconds to recursively list all contents of
my current working directory.
You're probably looking for the date(1) command.
-A
Reply to:
- References:
- Time error
- From: Robert Cohen <robert.cohen@gmail.com>