Skip to content

Instantly share code, notes, and snippets.

@michael-ford
Created July 31, 2024 17:37
Show Gist options
  • Save michael-ford/14f585937217e8bd7e952e8a16971fba to your computer and use it in GitHub Desktop.
Save michael-ford/14f585937217e8bd7e952e8a16971fba to your computer and use it in GitHub Desktop.
Print URL for jupyter session on biowulf
#!/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