add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

20
pages.zh/linux/pidof.md Normal file
View File

@@ -0,0 +1,20 @@
# pidof
> 使用进程名获取进程ID。
> 更多信息:<https://manned.org/pidof>。
- 列出所有具有给定名称的进程ID
`pidof {{bash}}`
- 列出具有给定名称的单个进程ID
`pidof -s {{bash}}`
- 列出包括脚本在内的具有给定名称的进程ID
`pidof -x {{script.py}}`
- 杀死所有具有给定名称的进程:
`kill $(pidof {{name}})`