Pgrep
From Wikipedia, the free encyclopedia
From Wikipedia, the free encyclopedia
pgrep este o comandă UNIX scrisă original pentru Solaris 7, ulterior implementată și pe celelalte sisteme UNIX. pgrep caută și tipărește pe ecran toate procesele care respectă criteriul de selecție specificat. Selecția este aceeași ca și cea din comanda pkill, și este bazată pe expresii regulate.
pgrep [opțiuni] patern
unde patern este expresia regulată folosită pentru desemnarea procesului.
Dintre opțiunile cele mai des folosite amintim:
Tipărește toate procesele din grupul other:
# pgrep -G other
Tipărește toate procesele care nu fac parte (-v) din grupul root:
# pgrep -v -u root
Programe în linia de comandă pentru Unix (mai multe) | |||
Management de fișiere: | cat | cd | chmod | chown | chgrp | cksum | cmp | cp | du | df | file | fsck | ln | ls | lsof | mkdir | mount | mv | pwd | rm | rmdir | split | touch | ||
Management de procese: | at | chroot | cron | exit | kill | killall | nice | pgrep | pidof | pkill | ps | pstree | sleep | time | top | wait | ||
Management utilizator/mediu: | env | finger | id | mesg | passwd | su | sudo | uname | uptime | w | wall | who | whoami | write | ||
Procesare text: | awk | comm | cut | ed | ex | fmt | head | iconv | join | less | more | paste | sed | sort | tac | tail | tr | uniq | wc | xargs | ||
Programare Shell: | basename | echo | expr | false | printf | test | true | unset | Imprimare: lp | |
Communicații: inetd | netstat | ping | rlogin | traceroute |
Căutare: find | grep | strings |
Diverse: banner | bc | cal | dd | man | size | yes |
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.