solution
This commit is contained in:
18
Readme.md
18
Readme.md
@@ -4,8 +4,26 @@
|
||||
|
||||
Lancer le script wait.sh
|
||||
|
||||
```bash
|
||||
./wait.sh
|
||||
```
|
||||
|
||||
|
||||
Identifiez-le, notez son identifiant
|
||||
|
||||
```bash
|
||||
ps -ef | grep wait.sh
|
||||
```
|
||||
envoyez-lui les signaux SIGINT, puis SIGTERM
|
||||
|
||||
|
||||
```bash
|
||||
kill -SIGINT 637876 # pid récupéré précédemment.
|
||||
kill -SIGTERM 637876 # pid récupéré précédemment.
|
||||
|
||||
```
|
||||
envoyez-lui un signal l'obligeant à se terminer
|
||||
|
||||
```bash
|
||||
kill -9 637876 # pid récupéré précédemment.
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user