Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

For example, I need to do "make " for some software. I want to measurement how long this is going take.

Is there easy and accurate way to do so?

share|improve this question
    
Use the time built-in. Example: time make install –  MaxMackie Mar 7 '12 at 6:59
    
Note that there is a time built-in and a more complete /usr/bin/time program. –  Coren Mar 7 '12 at 7:30

1 Answer 1

up vote 4 down vote accepted

You can use the shell builtin time. Just write it in front of the usual command like: time make.

share|improve this answer

Your Answer

 
discard

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.