Skip to content

Instantly share code, notes, and snippets.

@iamstoick
Created June 6, 2018 01:15
Show Gist options
  • Save iamstoick/3aa1cf6d21d278439e588114f248cf7b to your computer and use it in GitHub Desktop.
Save iamstoick/3aa1cf6d21d278439e588114f248cf7b to your computer and use it in GitHub Desktop.
Get Terminus machine token from cache

grep -o '"token":"[^"]*' ~/.terminus/cache/tokens/{EMAIL} | grep -o '[^"]*$'

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