<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Akiniwa</author_name>
  <author_url>https://blog.hatena.ne.jp/Akiniwa/</author_url>
  <blog_title>忘れないようにメモっとく</blog_title>
  <blog_url>https://akiniwa.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>リモートサーバで接続切れたあともコマンド実行を続ける リモートサーバで作業をしていて、ちょっと時間がかかるスクリプトを実行していたら、接続切れた $ Write failed: Broken pipe これが計算を始めて、1時間くらい経っていると結構なえる。バックグラウンドでコマンドを実行してくれるのが、nohup。 例えば、a.outを実行するときは $ nohup ./a.out &amp; nohup &quot;コマンド&quot; &amp;って感じで使う。 あとは、帰る直前にコマンド実行したいときとか、とにかくssh先からログアウトしたあとも、コマンドを動かし続けたいときに使える。自分はipython noteboo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakiniwa.hatenablog.jp%2Fentry%2F2013%2F08%2F26%2F163655&quot; title=&quot;サーバの接続切れてもコマンドを実行する ~ nohup - 忘れないようにメモっとく&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-08-26 16:36:55</published>
  <title>サーバの接続切れてもコマンドを実行する ~ nohup</title>
  <type>rich</type>
  <url>https://akiniwa.hatenablog.jp/entry/2013/08/26/163655</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
