Results 1 to 4 of 4

Thread: Die the perfect kill-9?

  1. #1
    Member registered user
    Join Date
    Mar 2004
    Location
    Buenos Aires, Argentina
    Posts
    79

    Die the perfect kill-9?

    To me is very handly for those multi-treadh apps...

    Code for die
    Code:
    #!/bin/bash
    kill -9 `ps aex | grep $1 | grep -v grep | awk '(print $1}'`
    Instead of kill -9 pid...you can do "die appname"

    Ex: die xmms

  2. #2
    Senior Member registered user
    Join Date
    Jun 2003
    Location
    Piraeus / Hellas
    Posts
    121
    What about pkill xmms for example ???

  3. #3
    Member registered user
    Join Date
    Mar 2004
    Location
    Buenos Aires, Argentina
    Posts
    79
    Quote Originally Posted by mikekgr
    What about pkill xmms for example ???
    I didn't know ! Thanks for the info :P pgrep is a nice command to learn too

  4. #4
    Senior Member registered user
    Join Date
    Oct 2004
    Location
    london town
    Posts
    220
    or
    Code:
    "kill `pidof xmms`
    would kill all xmms programs

    and
    Code:
     kill `pidof -s xmms`
    should kill off

Similar Threads

  1. MiniKnoppix 2.0 - Almost Perfect, But...
    By HateSpitLove in forum Customising & Remastering
    Replies: 11
    Last Post: 06-12-2004, 01:44 AM
  2. Kill...
    By KnoppiXRuleZ in forum General Support
    Replies: 0
    Last Post: 03-03-2004, 03:10 AM
  3. Replies: 0
    Last Post: 11-16-2003, 06:01 PM
  4. Perfect Linux box
    By m0rpheus in forum The Lounge
    Replies: 3
    Last Post: 03-30-2003, 01:56 AM
  5. Knoppix a base for perfect Newbie Linux ?!
    By MichielioZ in forum Ideas
    Replies: 3
    Last Post: 02-17-2003, 05:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$9.99



Knoppix 3.4 Linux installation CD picture

Knoppix 3.4 Linux installation CD

$15.00



Linux Knoppix 4.0.2 Installation Disc picture

Linux Knoppix 4.0.2 Installation Disc

$39.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick

$20.30



Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA picture

Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA

$19.99



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$8.50



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$8.50



KNOPPIX 9.1 LINUX INSTALL & LIVE DVD picture

KNOPPIX 9.1 LINUX INSTALL & LIVE DVD

$9.99



Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA picture

Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA

$79.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$19.95