Skip to content

Instantly share code, notes, and snippets.

@geraldvillorente
Created June 6, 2018 01:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geraldvillorente/3aa1cf6d21d278439e588114f248cf7b to your computer and use it in GitHub Desktop.
Save geraldvillorente/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