Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In bash shell, is there a simple way for me to monitor the time taken to run a script and output the time taken?

share|improve this question
add comment

1 Answer 1

up vote 27 down vote accepted


 time script

Where script is the script to monitor the time for.

For instance, time find ~ will output something like this (Depending on the size of your home directory, that is):

real    0m49.139s
user    0m0.663s
sys     0m4.129s
share|improve this answer
that is so awesome. Thanks Mr Man! –  Jason Jan 4 '11 at 3:40
@Jason: You're welcome! I'm glad that this helped! –  Wuffers Jan 4 '11 at 13:17
thanks a lot my friend. –  simplyharsh Mar 28 '12 at 12:18
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.