I am measuring the time it takes for a wget command to complete.
Right now my command is:
time wget https://`ifconfig -a | grep '32.29.120' | cut -d: -f2 | cut -d' ' -f1`:8443/primary-rest/shop?brandId=test --header="name: test" --no-check-certificate -o SELF_TEST.log
The output I get is
real 0m0.284s
user 0m0.018s
sys 0m0.004s
[/CODE]
I want the output to goto a file and not be written on terminal.
Documentation says add
-o
flag but thats only working for the wget command.
What am I doing wrong here ?