<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a1026302</author_name>
  <author_url>https://blog.hatena.ne.jp/a1026302/</author_url>
  <blog_title>ものづくりのブログ</blog_title>
  <blog_url>https://a1026302.hatenablog.com/</blog_url>
  <categories>
    <anon>コマンド</anon>
    <anon>コマンド-ショートカット</anon>
  </categories>
  <description>これまで history コマンドと grep から過去に実行したコマンドを検索していましたが、 [ctlr + r]の方が便利だったのでここにメモします。これまで、過去に実行した ls コマンドを検索する場合は以下のようにしてました。 $ history | grep ls[ctlr + r]を使う場合 [ Ctrl+r ]を打つと、以下のようなメッセージが出るのでキーワードを入力します。 (reverse-i-search)`':「ls」と入力すると、過去に検索した lsコマンドの履歴が表示されます。 そのままエンターすると表示されたコマンドが実行されます。表示された候補以外が必要な場合は…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa1026302.hatenablog.com%2Fentry%2F2022%2F06%2F10%2F100829&quot; title=&quot;コマンドの履歴を [ctrl + r] で検索し実行 - ものづくりのブログ&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>https://cdn.user.blog.st-hatena.com/default_entry_og_image/157314735/1599576939808917</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-06-10 10:08:29</published>
  <title>コマンドの履歴を [ctrl + r] で検索し実行</title>
  <type>rich</type>
  <url>https://a1026302.hatenablog.com/entry/2022/06/10/100829</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
