Find out if there is a local user logged in when logging in over ssh
- by sebastiangeiger
I need to run some calculations on a machine that I can only access remotely but also serves as a work station. There are many of them and I want to pick a "free" one. Free means in this case that no one is logged in locally.
My first try was the who command, but for some reason it only lists "selected" users and I can't really find out how they…