From c00853a473345f53f7f69ded53ee0ddd541fb371 Mon Sep 17 00:00:00 2001 From: miheer vaidya Date: Thu, 2 Dec 2021 10:49:24 -0700 Subject: [PATCH] Seems like accessing $it outside each is not possible now (#4000) --- docs/commands/kill.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/commands/kill.md b/docs/commands/kill.md index a8c4e32d72..8d4b1e9b08 100644 --- a/docs/commands/kill.md +++ b/docs/commands/kill.md @@ -19,7 +19,7 @@ Kill a process using the process id. ## Examples Kill the pid using the most memory ```shell -> ps | sort-by mem | last | kill $it.pid +> ps | sort-by mem | last | each { kill $it.pid } ``` Force kill a given pid