<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>round-rand</author_name>
  <author_url>https://blog.hatena.ne.jp/round-rand/</author_url>
  <blog_title>ランドML</blog_title>
  <blog_url>https://ml-rand-note.hatenablog.com/</blog_url>
  <categories>
    <anon>Linux</anon>
  </categories>
  <description>wcコマンドとは？ wcは&quot;Word Count&quot;の略であり、ファイルの文字数・単語数などを数えられる。 ファイルだけでなく標準入力も扱える wcコマンドの基本的な使い方 Apple Grape Banana Peach 上記ファイルの場合のコマンドは以下の通りです。 wc sample.txt 実行結果と意味は以下の通りです(行数については後述)。 3 4 24 sample.txt 結果 意味 3 行数 4 単語数APPLE, Grape, Banana, Peachの4単語。 24 バイト数 行数の注意点 行数のカウントでは改行文字\nの数をカウントしています。 そのため、先ほどの Ap…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fml-rand-note.hatenablog.com%2Fentry%2Flinux%2Fwc-command&quot; title=&quot;【Linux】wcコマンドの使い方｜ファイルの行数・文字数、ファイル数を取得する - ランドML&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>2026-08-22 00:00:00</published>
  <title>【Linux】wcコマンドの使い方｜ファイルの行数・文字数、ファイル数を取得する</title>
  <type>rich</type>
  <url>https://ml-rand-note.hatenablog.com/entry/linux/wc-command</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
