Discussion:
Can't use options for time command
(too old to reply)
재국 김
2011-06-06 15:14:24 UTC
Permalink
I tried some commands like "time -f "%U" ~~" or "time -o ~~", but
error messages is saying that there is no options like -f and -o which
I found from "man time".

Anyone have same problem here? or am I doing something stupid?
Ashif Harji
2011-06-06 17:03:25 UTC
Permalink
When you just use "time", you are getting a shell builtin. However, the
man page is for the time command (/usr/bin/time). Using the absolute path
to the command will get you to the time command. If you want more
information about the builtin time, then you should check the man page for
your shell, .e.g., bash.

ashif
Post by 재국 김
I tried some commands like "time -f "%U" ~~" or "time -o ~~", but
error messages is saying that there is no options like -f and -o which
I found from "man time".
Anyone have same problem here? or am I doing something stupid?
Loading...