public marks

PUBLIC MARKS from alamat with tags script & kill

03 December 2010 06:45

Linux Tip for the Day: Kill X

(via)
Quick way to close your X login session (for SysV) for PID in `ps -u$USER | grep “fv[wm]” | awk ‘{print $1}’`; do kill -9 $PID; done Or throw it into a shell script:

alamat's TAGS related to tag script

alert +   apple +   bash +   china +   crontab +   distro +   file +   howto +   ipad +   kill +   launch +   linux +   logins +   logout +   monitor +   password +   Pirates +   rewrite +   root +   sample +   system +   tips +   tracking +   trick +   tricks +   unix +   value +   x +