> For the complete documentation index, see [llms.txt](https://www.shellspells.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.shellspells.net/linux/system-ops/processes/modify.md).

# Modify

<table data-header-hidden data-full-width="true"><thead><tr><th width="332">Command</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:yellow;"><code>kill [PID]</code></mark></td><td>Sends a termination signal to a process (SIGTERM by default).</td></tr><tr><td><mark style="color:yellow;"><code>kill -9 [PID]</code></mark></td><td>Sends a forceful termination signal (SIGKILL).</td></tr><tr><td><mark style="color:yellow;"><code>kill -15 [PID]</code></mark></td><td>Sends the graceful termination signal (SIGTERM) to a process.</td></tr><tr><td><mark style="color:yellow;"><code>killall [process_name]</code></mark></td><td>Terminates all processes with a matching name.</td></tr><tr><td><mark style="color:yellow;"><code>pkill [process_name]</code></mark></td><td>Terminates processes based on their name.</td></tr><tr><td><mark style="color:yellow;"><code>bg [job_number]</code></mark></td><td>Moves a suspended job to the background.</td></tr><tr><td><mark style="color:yellow;"><code>fg [job_number]</code></mark></td><td>Brings a background job to the foreground.</td></tr><tr><td><mark style="color:yellow;"><code>ctrl+z</code></mark></td><td>Suspends the current foreground process in the terminal.</td></tr><tr><td><mark style="color:yellow;"><code>nice &#x3C;priority> [command]</code></mark></td><td>Runs a command with a lower priority.</td></tr><tr><td><mark style="color:yellow;"><code>renice [PID] [new_priority]</code></mark></td><td>Changes priority of a running process.</td></tr><tr><td><mark style="color:yellow;"><code>nohup command &#x26;</code></mark></td><td>Runs a command immune to hangups, with output to a non-tty.</td></tr><tr><td><mark style="color:yellow;"><code>disown %jobnumber</code></mark></td><td>Removes a job from the shell's job table, making it immune to signals from the shell.</td></tr><tr><td><mark style="color:yellow;"><code>disown [PID]</code></mark></td><td>Removes a process from the shell's job table, preventing it from receiving SIGHUP signals.</td></tr></tbody></table>
