Quote:
Originally Posted by himu3118
i have checked those options but its not appending in the same output file..
|
Hi,
this works on my system
Code:
/usr/bin/time -a -o output ./script.sh < input > output
Make sure to give the full path for time. Otherwise bash will use a shell-builtin and this does not understand the -a and -o option.
Hope this helps.