Linux is a multi-user operating system, users can link on Linux servers in different places.
In the system, we can use the w or who to view the user:
Look at the user's own login:
Next, using the pkill kicked user pts / 1:
Followed by w or who view:
Has no pts / 1, you're done.