Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Actually I will try that. My guess is that once the command exits, it will log out, so in the case of watch it would simply mean ctrl+c or q to exit. As long as there are other users then circumventing this should work fine Commented Nov 20, 2015 at 23:01
  • The problem is that when you log out, it'll drop you back in getty, which will autologin again as that user. I don't know how to make getty's behavior conditional. Commented Nov 20, 2015 at 23:01