Click to See Complete Forum and Search --> : Time doesn't accept options


crashguru
08-10-2002, 10:53 PM
I am using Debian 2.2r6. dselect tells me that I have time 1.7-9 installed. Time will measure the elapsed time of a process, but will not accept any of the options that the docs say that it should, like time -V, time --version, time -o file.., etc.

What is going on here?

X_console
08-10-2002, 11:47 PM
Ok, problem here is that the bash shell has a built in command called time as well. So if you just type time it runs bash's version. So you need to type the full PATH to time. Eg:

/usr/bin/time -V