0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【Linux】wcコマンドとは?

Posted at

wcコマンドとは?

ファイル内の行数、文字数、単語数を調べるコマンド。

書式

wc [オプション] [ファイル名]

オプション

オプション 説明
-l 行数を表示
-w 単語数を表示
-c 文字数(バイト数)を表示

使用例

file1の文字数を表示する場合。

wc -c file1
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?