Linux Comm Skill
# Linux skill command
[ Linux Command Manual](#)
The Linux skill command sends a signal to a running program. The default signal is TERM (terminate). More commonly used signals are HUP, INT, KILL, STOP, CONT, and 0.
Signals can be written in three ways: -9, -SIGKILL, -KILL. You can use -l or -L to list available signals.
Permissions: All users.
Other related commands: kill
### Syntax
skill rules for selecting processes
**General Options**:
* -f Fast mode / not yet implemented
* -i Interactive mode / each action will be confirmed
* -v Verbose output / list information about selected processes
* -w Smart warning messages / not yet implemented
* -n No action / display process ID
**Parameters**: Rules for selecting processes can be: terminal ID, username, process ID, command name.
* -t Terminal ID (tty or pty)
* -u Username
* -p Process ID (pid)
* -c Command name Available signals
The following lists known signal names, signal codes, and functions.
| Name (Code) | Function/Description |
| --- | --- |
| ALRM 14 | Exit |
| HUP 1 | Exit |
| INT 2 | Exit |
| KILL 9 | Exit/Force close |
| PIPE 13 | Exit |
| POLL | Exit |
| PROF | Exit |
| TERM 15 | Exit |
| USR1 | Exit |
| USR2 | Exit |
| VTALRM | Exit |
| STKFLT | Exit/Only for i386, m68k, arm, and ppc hardware |
| UNUSED | Exit/Only for i386, m68k, arm, and ppc hardware |
| TSTP | Stop/Generate context-related behavior |
| TTIN | Stop/Generate context-related behavior |
| TTOU | Stop/Generate context-related behavior |
| STOP | Stop/Force close |
| CONT | Restart/If in stopped state, restart; otherwise, ignore |
| PWR | Ignore/On some systems, will exit |
| WINCH | Ignore |
| CHLD | Ignore |
| ABRT 6 | Core |
| FPE 8 | Core |
| ILL 4 | Core |
| QUIT 3 | Core |
| SEGV 11 | Core |
| TRAP 5 | Core |
| SYS | Core/Maybe not implemented |
| EMT | Core/Maybe not implemented |
| BUS | Core/Core failure |
| XCPU | Core/Core failure |
| XFSZ | Core/Core failure |
### Examples
Stop all programs on PTY devices
skill -KILL -v pts/*
Stop three users user1, user2, user3
skill -STOP user1 user2 user3
[ Linux Command Manual](#)
YouTip