<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="ja"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta http-equiv="Content-Style-Type" content="text/css"> <meta name="author" content="magicant"> <meta name="description" content="Yash の disown 組込みコマンドについて"> <title>Yash マニュアル: disown 組込みコマンド</title> <link rel="Contents" href="../index.html" title="目次"> <link rel="Prev" href="dirs.html" title="Dirs 組込みコマンド"> <link rel="Next" href="echo.html" title="Echo 組込みコマンド"> <link rel="Stylesheet" href="../style.css"> <div class="breadcrumb"><a href="../index.html">目次</a> > <a rel="Up" href="index.html">組込みコマンド一覧</a></div> <h1>Disown 組込みコマンド</h1> <p><dfn>Disown 組込みコマンド</dfn>はジョブを削除します。 <h2 id="syntax">構文</h2> <ul> <li><code>disown [-a] [<var>ジョブ</var>…]</code> </ul> <h2 id="description">説明</h2> <p>Disown コマンドはシェルが管理しているジョブを削除します。削除したジョブは<a href="../job.html">ジョブ制御</a>の対象から外れますが、ジョブを構成するコマンドの実行は継続します。 <h2 id="options">オプション</h2> <dl> <dt><code>-a</code>, <code>--all</code> <dd>全てのジョブを削除します。 </dl> <h2 id="operands">オペランド</h2> <dl> <dt><var>ジョブ</var> <dd>削除するジョブの<a href="../job.html#jobid">ジョブ ID</a> です。複数指定することもできます。何も指定しないと現在のジョブを削除します。非 <a href="../posix.html">POSIX 準拠モード</a>ではジョブ ID の先頭の <code>%</code> は省略できます。 </dl> <h2 id="exitstatus">終了ステータス</h2> <p>エラーがない限り disown コマンドの終了ステータスは 0 です。 <h2 id="notes">補足</h2> <p>POSIX には disown コマンドに関する規定はありません。