I'm running the following command (on Ubuntu)
time wget 'http://localhost:8080/upLoading.jsp' --timeout=0
and get a result in the command line
real 0m0.042s
user 0m0.000s
sys 0m0.000s
I've tried the following:
time -a o.txt wget 'http://localhost:8080/upLoading.jsp' --timeout=0
and get the following error
-a: command not found
I want to get the result to be redirected to some file. How can I do that?
timebuilt-in command. (seehelp time) Your command should use/usr/bin/timeto work properly (to discover where the binary of time is usewhich time). Considering this, you must use:time -o out.txt -a ...– Lourenco Jul 8 '16 at 23:00