mirror of
https://github.com/nushell/nushell.git
synced 2025-01-24 07:09:02 +01:00
Seems like accessing $it outside each is not possible now (#4000)
This commit is contained in:
parent
79c7b20cfd
commit
c00853a473
@ -19,7 +19,7 @@ Kill a process using the process id.
|
|||||||
## Examples
|
## Examples
|
||||||
Kill the pid using the most memory
|
Kill the pid using the most memory
|
||||||
```shell
|
```shell
|
||||||
> ps | sort-by mem | last | kill $it.pid
|
> ps | sort-by mem | last | each { kill $it.pid }
|
||||||
```
|
```
|
||||||
|
|
||||||
Force kill a given pid
|
Force kill a given pid
|
||||||
|
Loading…
Reference in New Issue
Block a user