public marks

PUBLIC MARKS from alamat with tags unix & x

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 unix

based +   blog +   bombs +   boot +   computer +   crontab +   database +   distro +   download +   expect +   fast +   file +   files +   firewall +   fork +   freebsd +   help +   howto +   kill +   linux +   logins +   logout +   monitor +   mysql +   netbook +   news +   nfs +   os +   password +   places +   PVM +   reboot +   replication +   root +   rootkit +   running +   sample +   script +   security +   shell +   solaris +   ssh +   supercomputer +   system +   tech +   techy +   tips +   tracking +   trick +   tricks +   trojan +   tutorial +   ubuntu +   update +   value +   version +   worm +   x +