bash redirect stderr for time command? -


an application stderr being run using time command. want output of application redirected /dev/null, stderr redirected log, , timing redirected log.

executing command:

time cmd args >/dev/null 2>log 

redirects cmd, not time command timings.

if goal capture time output log file, use:

{ time seq 1000 >/dev/null; } 2>log 

Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -