Yep. I use these a lot. Open a new session, run a program/job/whatever. Disconnect the session, go home, pick up session again from home. Also quite useful to do remote updates when the connection isn't too stable. If you get disconnected you can just login and pick up the session again, nothing gets interrupted (which would be bad if this happens halfway during an upgrade).The easy way is using screen/tmux.
This can easily go wrong because ofI remembered that it was a simple way and I found it
as a root you can use watch -W
BUGS
No terminal emulation is performed. All user output is reproduced as-is.
kern.securelevel
raised above 0 unless snp(4) is explicitly loaded at boot time. This tool just makes sense if your usecase is indeed "spying" on someone (without consent). For all other cases, I'd really recommend to use the "cooperative" (and, portable) approach with an actual terminal multiplexer like tmux, giving you lots of useful features, starting with the "terminal emulation" mentioned above and including being able to run completely "detached" as well.Could you explain what does it mean?No terminal emulation is performed. All user output is reproduced as-is.