1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 02:55:24 +02:00
tldr/pages/common/time.md
2025-05-14 14:11:33 +03:00

355 B

time

Measure how long a command took to run. Note: time can either exist as a shell builtin, a standalone program or both. See also: times. More information: https://manned.org/time.

  • Run the command and print the time measurements to stdout:

time {{command}}

  • Create a very simple stopwatch (only works in Bash):

time read