Created
January 20, 2021 05:48
-
-
Save xinyazhang/d0d6a8a74f5fdd8f423821c10839dfea to your computer and use it in GitHub Desktop.
Wait for the process of given pid to terminate
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 characters
| #!/bin/bash | |
| tail --pid=$1 -f /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment