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.

Required fields*

2
  • Please edit your question and clarify that you are connecting from a Windows machine and close the terminal on a Windows machine. Most of us here don't use Windows (I had to look up what this "mobaxterm" thing is). Also, please clarify if this only happens if you switch to another user. What if you run sleep as "user", do you get the same behavior? Commented Oct 22, 2024 at 11:44
  • thanks for the edit, much appreciated. I have added the fact that I don't have the same behavior when running sleep as user, without performing the su - first. Commented Oct 23, 2024 at 13:04