<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>iizukaw</author_name>
  <author_url>https://blog.hatena.ne.jp/iizukaw/</author_url>
  <blog_title>はて日記</blog_title>
  <blog_url>https://iizukaw.hatenadiary.org/</blog_url>
  <categories>
    <anon>zsh</anon>
    <anon>linux</anon>
  </categories>
  <description>bashとかと違って第二引数を与えられるのを発見。 下のコマンドでカレントディレクトリの絶対パス中のOLDをNEWに置換したディレクトリに移動できる。 % cd OLD NEW つまり % cd /usr/local % cd local bin % pwd /usr/bin 削除するときは空文字列で。 % cd /usr/local/bin % cd local &quot;&quot; % pwd /usr/bin 意外と使えるかも。 もう一つ -P をつけるとシンボリックリンクを解決してcdできる。 % ln -s dir symlink % cd -P symlink % pwd /home/user/d…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiizukaw.hatenadiary.org%2Fentry%2F20071106%2Fp1&quot; title=&quot; zshのビルトインコマンドcd - はて日記&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>2007-11-06 00:00:00</published>
  <title> zshのビルトインコマンドcd</title>
  <type>rich</type>
  <url>https://iizukaw.hatenadiary.org/entry/20071106/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
