首页 > 技术文章 > Linux 之 计算字数命令wc

sabertobih 2020-12-11 12:17 原文

wc -l 文件  => 文件总行数

wc -L 文件 => 文件行的最大length(包含空格,也算作length)

推荐阅读