shelf.cafe
top new
submit sign in

Zsh: measure command durations with the time command, TIMEFMT, and REPORTTIME

0

adamj.eu · 25d · discuss

time is a POSIX utility for timing commands. Most shells build it in, and Zsh’s version has a lot more to offer than the one in Bash. Put time before a command to time it. For example, to time a Python script: $ time python example.py python example.py …

Sign in

Discussions on Bluesky

shelf.cafe - just a place to share interesting blog posts and articles.
about

We can't find the internet

Attempting to reconnect

Something went wrong!

Attempting to reconnect