<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ibuquicallig</author_name>
  <author_url>https://blog.hatena.ne.jp/ibuquicallig/</author_url>
  <blog_title>りなっくすとらずぱい！</blog_title>
  <blog_url>https://raspi.taneyats.com/</blog_url>
  <categories>
  </categories>
  <description>こんにちは、たねやつです。 このシリーズでは、Linuxの基本的なコマンドを一つずつ取り上げ、その使い方を具体的な例とともに解説していきます。今回は、ファイルの先頭部分を表示するheadコマンドです。 headコマンドとは？ 主なオプション 具体的な使用例 状況1: ログファイルの最初の数行だけを確認したい 状況2: CSVファイルのヘッダ行と最初の5件のデータを確認したい 状況3: 複数のファイルの先頭部分を一度に確認したい 状況4: パイプラインと組み合わせて、処理結果の先頭だけを見る 最後に 参考・引用 headコマンドとは？ headコマンドは、その名の通り、ファイルや標準入力の先頭部…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fraspi.taneyats.com%2Fentry%2Fcommand-head&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>https://cdn-ak.f.st-hatena.com/images/fotolife/i/ibuquicallig/20250723/20250723083413.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-07-26 08:00:00</published>
  <title>head - ファイルの先頭を表示する</title>
  <type>rich</type>
  <url>https://raspi.taneyats.com/entry/command-head</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
