time
Measure how long a command took to run. Note: time can either exist as a shell builtin, a standalone program or both. More information: <https://manned.org/time>.
Install
- All systems
-
curl cmd.cat/time.sh
- Debian
-
apt-get install time
- Ubuntu
-
apt-get install time
- Arch Linux
-
pacman -S time
- Kali Linux
-
apt-get install time
- CentOS
-
yum install time
- Fedora
-
dnf install time
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install time
- Raspbian
-
apt-get install time
- Dockerfile
- dockerfile.run/time
Measure how long a command took to run. Note: time can either exist as a shell builtin, a standalone program or both. More information: <https://manned.org/time>.
-
Run the `command` and print the time measurements to `stdout`:
time command
© tl;dr; authors and contributors