kill
for platform> kill {flags} (pid) ...rest
--force, -f
: forcefully kill the process--quiet, -q
: won't print anything to the console--signal, -s {int}
: signal decimal number to be sent instead of the default 15 (unsupported on Windows)pid
: process id of process that is to be killed...rest
: rest of processes to killinput | output |
---|---|
nothing | any |
Kill the pid using the most memory
>ps|sort-bymem|last|kill$in.pid
Force kill a given pid
>kill--force12345
Send INT signal
>kill-s212345
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/kill.html