maux
Star on GitHub Buy me a coffee

Manual / time

time(1)

TIME(1) General Commands Manual TIME(1)

time - time a command

time command [arg...]

The given command is executed; after it is complete, time prints the elapsed time during the command. The time is printed on the diagnostic output stream, so redirecting the command's standard output does not put the report in that file.

Only real elapsed time is reported. There is no per-process accounting from which to report user or system CPU time. The command is found using PATH; an absolute path bypasses the search. A running interrupt tick source is required.

/usr/man/TIME this page

sleep(1), sh(1), licenses(1)

Normally the exit status is the command's status. A usage, lookup, spawn or timing failure gives status 1.

There are at most sixteen child argv slots, including its command name. Intervals over 65535 seconds are refused. This is an external command, not a shell keyword; it cannot directly time a builtin or a whole pipeline.

September 19, 2026 maux