I have two commands that I through were the same, but they don't share the same parameter:
time -f "%E %C" mycommandtomeasure
/usr/bin/time -f "%E %C" mycommandtomeasure
The first one does not execute, while the second one does. The first one cannot find the -f
parameter. When checking whereis time
I do get the path /usr/bin/time
, so I understand it this way that time
is the same command as /usr/bin/time
.
Apparently, my assumption is wrong though. Could someone help me to elaborate?