pkill
Using pkill, you can search for processes that match the search criteria you specify and then send them a certain kill signal.
-P: Only match processes whose parent process ID is listed.
-f': The pattern is normally only matched against the process name. When -f is set, the full command line is used.
-u
>pkill -SIGTERM -f vi
No comments:
Post a Comment