Today’s post is a quickie, and more along the lines of a “package of the day”, but I thought it would be interesting to share.
The time command in Linux will offer you system resource summaries and total time taken to complete the job requested. Usage of the time command is very simple (although see man time for more information).
I used this command last to see how long it took to write psuedo-random data to a 6G USB disk:
time dd if=/dev/urandom of=/dev/sdb bs=4096
(example output, not accurate for this command)
The time command can be a prefix to just about any command you run and want a timed output for. Give it a try.