<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takuya_1st</author_name>
  <author_url>https://blog.hatena.ne.jp/takuya_1st/</author_url>
  <blog_title>それマグで！</blog_title>
  <blog_url>https://takuya-1st.hatenablog.jp/</blog_url>
  <categories>
    <anon>linux</anon>
    <anon>bash</anon>
  </categories>
  <description>任意の指定サイズのファイルを作る方法 head を使う場合。 takuya@~$ head -c 100k /dev/urandom &gt; out takuya@~$ ll out -rw-r--r-- 1 takuya staff 100K 2020-03-18 13:59 out ランダム( /dev/urandom) から読み出して、指定サイズを作ります。 head は -c でサイズ指定が出来ます。 色々なサイズ 1M ( 1024*1024 )のサイズを読みだした場合 takuya@~$ head -c 1m /dev/urandom &gt; out takuya@~$ ll out -r…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2020%2F03%2F18%2F140351&quot; title=&quot;指定サイズのファイルを作る方法 ( head 編 ) - それマグで！&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>2020-03-18 14:03:51</published>
  <title>指定サイズのファイルを作る方法 ( head 編 )</title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/2020/03/18/140351</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
