How do I time how long my pg_restore takes in the command line?

view story

http://unix.stackexchange.com – I'm trying to track the amount of time the process takes for when I move around my data and upgrade my web app. From the command line, how would I track the amount of time elapsed from when the pg_restore command starts to when it finishes? (HowTos)