bash measure execution time 1

bash measure execution time

time yourscript.sh

Here is what the above code is Doing:
1. The first line is a shebang. It tells the computer what program to use to run the script.
2. The second line is a comment. It’s ignored by the computer.
3. The third line is a command. It tells the computer to print a message to the screen.
4. The fourth line is a command. It tells the computer to run the time command on the script.

Similar Posts