実際のところ
素で実行すると、単にプロセス名がでるだけ
# pgrep bash 1 16 25
プロセスの細かい内容をだす
# pgrep bash -a 1 bash 16 bash 25 bash
一番古いプロセスをだす
# pgrep bash -o 1
一番新しいプロセスを出す
# pgrep bash -n 25
参考もと
- Man page of PGREP
- pgrep --help
素で実行すると、単にプロセス名がでるだけ
# pgrep bash 1 16 25
# pgrep bash -a 1 bash 16 bash 25 bash
# pgrep bash -o 1
# pgrep bash -n 25