<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hitode909</author_name>
  <author_url>https://blog.hatena.ne.jp/hitode909/</author_url>
  <blog_title>hitode909の日記</blog_title>
  <blog_url>https://blog.sushi.money/</blog_url>
  <categories>
  </categories>
  <description>シェルで，上のディレクトリに行くのがめんどくさくて，cd ../../../../とかしないといけなくて，指を痛める． 上に行くためのupっていうコマンドを作ることにした． その1 up 3ってやると，3つ上に行くのを作った． function up() { i=0 while [ $i -lt $1 ] do cd ../ i=`expr $i + 1` done } 使い方 % pwd /Users/fkd/co/dev/dotfiles % up 3 % pwd /Users/fkd %これは使いにくくて，cd ../../って打つときは，いくつ上に行くか考えながら，../って打ってる．…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.sushi.money%2Fentry%2F20101002%2F1285994430&quot; title=&quot; 上に行くcd作った - hitode909の日記&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>http://gyazo.com/d7f2c1627f3aab5e183a475dbd2640a7.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-10-02 13:40:30</published>
  <title> 上に行くcd作った</title>
  <type>rich</type>
  <url>https://blog.sushi.money/entry/20101002/1285994430</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
