Linux time

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

Linux time

The time command displays how long it takes to execute a command.

Example:

  1. time  
  2. time sleep 5  
  3. time date 

Linux Time

Look at the above snapshot, command "time" is very fast, command "time sleep 5" takes some time in displaying output but takes little CPU time and command "time date" takes a little time.