I'm trying to run the time command for a file on a virtual machine running Fedora 19 64-bit and I get the message "/usr/bin/time: No such file or directory". I tried googling, but it appears it's something that I should already have. How do I get this on my computer?
For those on a raspberry pi or similar debian-based distributions, I found that I could install the package time
(sudo apt install time
) to obtain access to the time
command.
Edit: For Fedora-based systems, the package name might be different. Try a dnf search time
, followed by a sudo dnf install {package_name}
. I don't have a Fedora machine immediately to hand to get the exact package name from.