snippetbashTip
time — Measure how long a command took to run. Note: `time` can either exist as a shell builtin, a standalo
Viewed 0 times
commandtooklongclitimehowmeasure
Problem
How to use the
time command: 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>.Solution
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 readCode Snippets
Run the `command` and print the time measurements to `stdout`
time {{command}}Create a very simple stopwatch (only works in Bash)
time readContext
tldr-pages: common/time
Revisions (0)
No revisions yet.