linux time befehl

C++
time [command] 	#measures time required by following command. For example:
time ls
Source

Also in C++: