mark one as lazy; add other use case

This commit is contained in:
Henrique A Lavezzo 2020-01-08 18:13:04 -03:00
parent 26f8a56480
commit c4956f157e

View file

@ -39,13 +39,20 @@ Credit: @hakluke
('utf-8')),signal.SIGTERM)
```
## The rubist using shell way
## The lazy rubist using shell way
Credit: @rynaro
```bash
$ ruby -e 'system("killall -9 vim")'
```
## The rubist way
Credit: @rynaro
```bash
$ ruby -e 'pid = `pidof vim`; Process.kill(9, pid.to_i)'
```
## The Colon-less way
Credit: @w181496