Skip to content

Instantly share code, notes, and snippets.

@johnelliott
Created February 3, 2022 04:11
Show Gist options
  • Save johnelliott/a246a2bef9f2f043f8b3686f3d8ce9b1 to your computer and use it in GitHub Desktop.
Save johnelliott/a246a2bef9f2f043f8b3686f3d8ce9b1 to your computer and use it in GitHub Desktop.
tailscale hosts
tailscale status --self=false | tr -s ' ' '\t' | cut -f1-2
@johnelliott
Copy link
Author

johnelliott commented Feb 7, 2022

e.g. tailscale status | tr -s ' ' '\t' | cut -f1-2 | sed 's/ /&tail-/'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment