I am just starting with linux commands, so my question might sound incredibly stupid. I am studying the command line, yesterday I was creating and deleting users.
When trying to delete a user (bart) I had created with the command
deluser bart
it says that bart is still logged in.
I thought that the command w
shows people logged in. So I tried it, and it did not mention bart. However, when trying to delete bart again I would get the same reply.
Is that normal? Am I using the wrong command to see who is logged in?
I did that and I logged out bart. However, I still don't understand why I can't find a command that lists all users logged in.