|
Article on other languages:
|
pgrep は、拡張正規表現パターンでプロセス名を検索し、デフォルトでは検索結果をプロセス識別子で示すコマンド。Solaris 7 で最初に導入されたコマンドであり、後に Linux および OpenBSD に再実装された。類似の機能を持つコマンドとして pidof と ps がある。 使用例プロセス(タスク)名を指定してそのプロセス識別子を返すというデフォルトの動作をさせるには、以下のように入力する。
これは、次のコマンド行とほぼ等価である。 このように、pgrep は複雑なコマンド行を単純化できる。他にも次のような機能がある。
関連項目外部リンク
|
|||||||||||||||||||||||||||||||||||||||||
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.
Mercedes Car
This site monitored by SitePinger.net