[Ilugc] kill

  • From: noorul@xxxxxxxxxx (Noorul Islam K M)
  • Date: Wed, 18 Jul 2012 15:14:09 +0530

Balachandran Sivakumar <benignbala at gmail.com> writes:

Hi,

On Wed, Jul 18, 2012 at 12:50 PM, Noorul Islam K M <noorul at noorul.com> 
wrote:

Which shell are you using? Bash completion is not displaying those
numbers.


       Bash shows it for me. kill -l  in bash 4.1.x shows the same
output. But, when you say bash completion, were you trying kill <TAB>
<TAB> ? I don't think that shows it up. thanks

$ --> cat /etc/debian_version 
6.0.4

 noman in ~
$ --> bash --version
GNU bash, version 4.1.5(1)-release (i486-pc-linux-gnu)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

 noman in ~
$ --> kill -<tab>
-ABRT      -CONT      -INT       -KILL      -QUIT      -RTMAX-11  -RTMAX-2   
-RTMAX-6   -RTMIN     -RTMIN+12  -RTMIN+2   -RTMIN+6   -SEGV      -TERM      
-TTOU      -VTALRM    
-ALRM      -FPE       -IO        -PIPE      -RTMAX     -RTMAX-12  -RTMAX-3   
-RTMAX-7   -RTMIN+1   -RTMIN+13  -RTMIN+3   -RTMIN+7   -STKFLT    -TRAP      
-URG       -WINCH     
-BUS       -HUP       -JUNK(32)  -PROF      -RTMAX-1   -RTMAX-13  -RTMAX-4   
-RTMAX-8   -RTMIN+10  -RTMIN+14  -RTMIN+4   -RTMIN+8   -STOP      -TSTP      
-USR1      -XCPU      
-CHLD      -ILL       -JUNK(33)  -PWR       -RTMAX-10  -RTMAX-14  -RTMAX-5   
-RTMAX-9   -RTMIN+11  -RTMIN+15  -RTMIN+5   -RTMIN+9   -SYS       -TTIN      
-USR2      -XFSZ      

 noman in ~
$ --> kill -l<tab>

Nothing comes up

 noman in ~
$ --> kill -l <tab>

This lists the PIDs. But I am looking for the number that is equivalent
to KILL, PIPE, etc.

May be this one is customized by Debian or the OP might be using some
*nix variant.

Thanks and Regards
Noorul


Other related posts: