Search code examples
linuxunixcommand-lineterminal

Track the time a command takes in UNIX/LINUX?


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


Solution

  • Yes, use time <command>, such as

    time ls
    

    Consult man time for more options. Link.