$ who -u | grep -vE “^root ” | kill `awk ‘{print $7}’`

This command (run as root) log off all users on a Linux system on the fly

View this command to comment, vote or add to favourites
View all commands by 0disse0

commandlinefu.com

by David Winterbottom (codeinthehole.com)


Tags: