V
V
Vasily Nikonov2020-09-10 12:46:27
Command line
Vasily Nikonov, 2020-09-10 12:46:27

What is the equivalent of this command in Windows?

On Linux (and macOS too), in order to kill a process, you need to write the following lines of code in the terminal:

ps axuw | grep -i '<Ваш фильтр>' | grep -v 'grep' | awk '{print $2}' | xargs kill -9

Is there an analogue of this sequence of commands for Windows?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Barbolin, 2020-09-10
@jintaxi

> ps axuw | grep -i '<Ваш фильтр>' | grep -v 'grep' | awk '{print $2}' | xargs kill -9

Nice bike))
try this
pgrep '<Ваш фильтр>' | xargs kill -9
or that
pkill '<Имя процесса>'
These are options for Linux, for windows taskkill

R
Roman Mirilaczvili, 2020-09-10
@2ord

Read the documentation for taskkill

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question