66 lines
571 B
Plaintext
66 lines
571 B
Plaintext
|
|
|
|
|
|
|
|
|
|
Command: time - report how long a command takes
|
|
Syntax: time command
|
|
Flags: (none)
|
|
Examples: time a.out # Report how long a.out takes
|
|
time ls -l *.c # Report how long ls takes
|
|
|
|
The command is executed and the real time, user time, and system
|
|
time (in hours, minutes, and seconds) are printed. Shell scripts cannot
|
|
be timed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|