Created
November 27, 2017 11:20
-
-
Save gasp/7939938b478172c7ad86754e55642512 to your computer and use it in GitHub Desktop.
Revisions
-
gasp created this gist
Nov 27, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ #!/usr/bin/env bash sleep_date() { echo "starting $1 at $(date)"; sleep $1; echo "ending $1 at $(date)"; } echo "starting all $(date)"; sleep_date 10 & sleep_date 20 & sleep_date 15 & wait; echo 'ended';