Jelajahi Sumber

pkill: enhance -9 argument explanation (#7036)

Brian Choromanski 3 tahun lalu
induk
melakukan
356e95ce79
1 mengubah file dengan 6 tambahan dan 2 penghapusan
  1. 6 2
      pages/common/pkill.md

+ 6 - 2
pages/common/pkill.md

@@ -6,11 +6,15 @@
 
 - Kill all processes which match:
 
-`pkill -9 "{{process_name}}"`
+`pkill "{{process_name}}"`
 
 - Kill all processes which match their full command instead of just the process name:
 
-`pkill -9 --full "{{command_name}}"`
+`pkill -f "{{command_name}}"`
+
+- Force kill matching processes (can't be blocked):
+
+`pkill -9 "{{process_name}}"`
 
 - Send SIGUSR1 signal to processes which match: