Nov 10, 2018

How to log out a user from Linux System

To logout user i88ca from the Linux system, kill all the processes of i88ca:

killall -KILL -u i88ca

You may want to see what processes user i88ca is currently running:
pgrep -u i88ca
ps -fp $(pgrep -u i88ca)


See also:

Example to kill process on Linux