Thursday, December 8, 2016

enable or disable team viewer in Terminal, Mac

If trying to kill TeamViewerHost.app make sure to specify full name. If unsure type "Team" and hit 'tab', this will autofill the name of the app. This works best when trying to remote into a computer but TV is now working, SSL into the computer and run these commands. *Note*TeamViewerHost.app and TeamViewer.app are different.*

ON: open -g -a /Applications/TeamViewer.app
And to gracefully quit instead of kill-ing:
OFF: osascript -e 'quit app "TeamViewer.app”

No comments:

Post a Comment