public marks

PUBLIC MARKS from alamat with tags linux & 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 linux

announce +   apache +   apple +   based +   blog +   bombs +   boot +   code +   computer +   crontab +   database +   distro +   download +   expect +   fast +   file +   files +   firewall +   fork +   freebsd +   ftp +   help +   ipod +   java +   kill +   mac +   maverick +   monitor +   mysql +   name +   netbook +   news +   nfs +   os +   password +   pclinuxos +   perl +   php +   places +   PVM +   reboot +   replication +   root +   rootkit +   running +   sample +   script +   security +   shell +   sms +   solaris +   ssh +   sun +   supercomputer +   system +   tech +   techy +   tips +   trick +   tricks +   trojan +   tutorial +   ubuntu +   unix +   update +   value +   version +   virus +   windows +   worm +   x +