Created
July 31, 2024 17:37
-
-
Save michael-ford/14f585937217e8bd7e952e8a16971fba to your computer and use it in GitHub Desktop.
Print URL for jupyter session on biowulf
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 | |
result="" | |
while [[ -z "$result" ]]; do | |
result=$(jupyter server list 2> /dev/null | grep http | cut -f1 -d' ') | |
sleep 1 | |
done | |
echo "$result" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment