Time

Paul Smith paul at mad-scientist.net
Tue Nov 5 18:47:43 UTC 2019


On Tue, 2019-11-05 at 13:43 -0500, Paul Smith wrote:
> On Tue, 2019-11-05 at 18:15 +0000, Grizzly via ubuntu-users wrote:
> > sudo apt update && time sudo apt upgrade
> > 
> > So it may be a stupid question but what does "time" do in the
> > middle there?
> 
> It prints out how long the command took to run.  That's all.

I should have also mentioned, when you don't know what something does
on the command line, you can use the "man" program to see the manual
page about it.  Most command-line tools have such documentation:

  $ man time
  TIME(1)                     General Commands Manual                    TIME(1)

  NAME
         time - run programs and summarize system resource usage

  SYNOPSIS
      ...lots of info...

Cheers!





More information about the ubuntu-users mailing list