Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e89bcc3

Browse files
killing processes
1 parent 81e98d9 commit e89bcc3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Handy list of oft-used Linux commands that I will never remember. Not intended t
1010
- [Monitor GPU usage](#monitor-gpu-usage)
1111
- [File Permissions](#file-permissions)
1212
- [Symbolic Links](#symbolic-links)
13+
- [Process Management](#process-management)
1314
- [fish](#fish)
1415
- [wget](#wget)
1516
- [Networking](#networking)
@@ -101,6 +102,13 @@ $ python docs/hello.py
101102
Hello!
102103
```
103104

105+
### Process Management
106+
107+
```bash
108+
# Kill all processes with process name matching <pattern>
109+
ps -ef | grep 'pattern' | grep -v grep | awk '{print 2ドル}' | xargs -r kill -9
110+
```
111+
104112
### fish
105113

106114
```bash

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /