mirror of
https://github.com/Idnan/bash-guide.git
synced 2018-11-09 02:29:39 +01:00
[1.5. Process Monitoring Operations] translated fix #7
This commit is contained in:
parent
a25eded1e0
commit
9e404fc0c2
11
README.md
11
README.md
@ -917,29 +917,30 @@ whois domain
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
### a. `kill`
|
### a. `kill`
|
||||||
Kills (ends) the processes with the ID you gave.
|
指定した ID でプロセスを Kill ( 終了 ) する。
|
||||||
```bash
|
```bash
|
||||||
kill PID
|
kill PID
|
||||||
```
|
```
|
||||||
|
|
||||||
### b. `killall`
|
### b. `killall`
|
||||||
Kill all processes with the name.
|
すべてのプロセスを名前で削除する。
|
||||||
```bash
|
```bash
|
||||||
killall processname
|
killall processname
|
||||||
```
|
```
|
||||||
|
|
||||||
### c. &
|
### c. &
|
||||||
The `&` symbol instructs the command to run as a background process in a subshell.
|
`&` シンボルは、コマンドがサブシェルのバックグラウンドプロセスとして実行されるように指示する。
|
||||||
```bash
|
```bash
|
||||||
command &
|
command &
|
||||||
```
|
```
|
||||||
|
|
||||||
### d. `nohup`
|
### d. `nohup`
|
||||||
nohup stands for "No Hang Up". This allows to run command/process or shell script that can continue running in the background after you log out from a shell.
|
nohup は "No Hang Up" の略。
|
||||||
|
シェルからログアウトした後、バックグラウンドで実行を継続できるコマンド/プロセスまたはシェルスクリプトを実行できる。
|
||||||
```bash
|
```bash
|
||||||
nohup command
|
nohup command
|
||||||
```
|
```
|
||||||
Combine it with `&` to create background processes
|
`&` と組み合わせてバックグラウンドプロセスを作成する
|
||||||
```bash
|
```bash
|
||||||
nohup command &
|
nohup command &
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user