Track the time a command takes in UNIX/LINUX?

OneChillDude picture OneChillDude · Aug 23, 2012 · Viewed 66.2k times · Source

In UNIX/LINUX, is there an easy way to track the time a command takes?

Answer

squiguy picture squiguy · Aug 23, 2012

Yes, use time <command>, such as

time ls

Consult man time for more options. Link.