Use the date Command to Measure Elapsed Time

When running bash scripts that take a long time to run it's often useful to know how long it took for the script to run.

In addition to the overall run time, it's also often useful to know how long certain parts of the script took to run.

The time command doesn't really help because it's meant to time a single command, not a sequence of commands.

By using the %s format

read more ...


 

More related items

One WordPress Dashboard to Rule Them All: ManageWP
WordPress finally has a unified dashboard to manage multiple blogs. ManageWP is the sort of thing that should have been available a long time ago.

Critically Acclaimed Linux Game OilRush Final...
Ubuntu Vibes: "The critically acclaimed game was in beta testing period for quite a long time and today final stable version is shipping officially."

SOPA Shelving Proves Power of the Internet and of We...
COMMENTARY | Right now, I'm as grateful to be an American as I've ever been. The old guard entertainment industry had it good for a long time. And all of their support was meant to be paid...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com