pidof pidof 是Linux下用来查找正在运行进程的进程ID (PID)。 在其他的操作系统中, 大部分使用pgrep 和 ps 来替代。 pidof 一般通过符号链接到“killall5"实现其功能。 例子: $ pidof ntpd 3580 3579 $ pidof emacs 22256 $ pidof file 10269 参考文献[编辑] 参见[编辑] Linux主题 自由软件主题 killall Unix工具列表 查论编Unix命令行程序和shell内建命令文件系統 cat cd chmod chown chgrp cksum cmp cp dd du df file fsck fuser ln ls mkdir mount mv pax(英语:pax (Unix)) pwd rm rmdir size split stat tee touch type(英语:type (Unix)) umask(英语:umask) 程序 at bg chroot cron fg kill killall(英语:killall) nice pgrep pkill(英语:pkill) ps pstree(英语:pstree) time top 用户环境 clear env exit history(英语:history (Unix)) id logname mesg(英语:mesg) passwd su sudo uptime talk(英语:talk (software)) tput(英语:tput) uname w wall(英语:wall (Unix)) who whoami write(英语:write (Unix)) 文本编辑 awk banner(英语:banner (Unix)) basename comm(英语:comm) csplit(英语:csplit) cut diff dirname ed ex fmt(英语:fmt) fold(英语:fold (Unix)) head(英语:head (Unix)) iconv join(英语:join (Unix)) less more nl(英语:nl (Unix)) paste(英语:paste (Unix)) sed sort(英语:sort (Unix)) spell(英语:spell (Unix)) strings(英语:strings (Unix)) tail tr uniq(英语:uniq) vi wc xargs 壳层内建 alias echo printf格式字符串 test(英语:test (Unix)) unset wait 网络 dig host ifconfig inetd(英语:inetd) netcat netstat nslookup ping rdate(英语:rdate) rlogin(英语:rlogin) route ssh traceroute 查找 find grep locate whatis(英语:whatis) whereis 文档 apropos(英语:apropos (Unix)) help(英语:help (command)) man 软件开发 ar ctags lex make nm strip yacc 杂项 bc cal dc expr lp(英语:lp (Unix)) lpr sleep true和false yes Unix实用程序列表