-exec cmd {} + is an idiom of the find command and the find command alone. It's used there to run cmd with the files it has found as arguments. -exec there is not an option, it's generally called a predicate and is used in the chain of conditions and actions that make up a find expression (find also supports options which are passed before the list of files / directories it should start finding from).
kill is a command that is builtin in most shells and used to send signals to processes based on their process ID or the shell job they're member of.
Most implementations also support a -l option which lists the signals that may be sent in a format that varies with the implementation. Some list signals one per line, some in column, some just space separated, some include both the the signal name and number.
If, in addition to the -l option, you pass a signal name or number (with or without the SIG prefix with some implementation), some kill implementations will output the corresponding signal number / name, though some always print the name, and some only accept numbers.
So:
kill -l TERM
for instance, with some kill implementations including the kill builtin of the zsh shell will output:
15
Where 15 on most if not all systems is the actual value of SIGTERM.
In the zsh shell, the signal names (+ EXIT which is also used in trap) are also available in the $signals special array:
$ echo $signals EXIT HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH POLL PWR SYS ZERR DEBUG
The signal number for a given signal is its index in the array minus 1.
$ echo $signals[15+1] TERM $ echo $(( signals[(I)TERM] - 1 )) 15
Or for a case insensitive matching:
$ set -o extendedglob $ echo $(( signals[(I)(#i)term] - 1 )) 15
(kill -l term also works in many kill implementations).
-execlooks what you'd use withfind, what doeskillhave to do with it? Do you just want to pipe kill to grep?-exec-findhas a-execwhich runs commands, but I don't know of other commands that have such an option. Do you just want to dokill -l | grep ...?-execis not a command. There is anexeccommand but you can't use either of them as options to random commands and expect them to work.