Connaitre le temps d'exécution d'une ou plusieurs commandes

From / Bloc Notes Informatique
Jump to: navigation, search

1 Introduction

You may need to know exactly the time of launching some commands. Time is for you.

Command is a bash builtin.

2 Examples

The last ; is important. example:

Command time
time { rm -rf /folder/bar && mkdir -p /folder/bar ; echo "done" ; }