欧卡2中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

需要三步,才能开始

只需两步,慢速开始

欧卡2入门方向盘选莱仕达V9莱仕达折叠便携游戏方向盘支架欢迎地图Mod入驻
查看: 3488|回复: 1
收起左侧

[系统] 如何使用命令查看一个文件有多少字符以及多少行

[复制链接]
oppo 发表于 2020-4-29 12:39 | 显示全部楼层 |阅读模式
5金币

最佳答案

查看完整内容

[md] ``` # wc --help -c, --bytes 输出字节数统计 -m, --chars 输出字符数统计 -l, --lines 输出行数统计 --files0-from=F read input from the files specified by NUL-terminated names in file F; If F is - then read names from stand-ard input -L, --max-line-length print the maximum display width ...
知行 发表于 2020-4-29 12:39 | 显示全部楼层
# wc --help
  -c, --bytes           输出字节数统计
  -m, --chars           输出字符数统计
  -l, --lines           输出行数统计
      --files0-from=F    read input from the files specified by
                           NUL-terminated names in file F;
                           If F is - then read names from stand-ard input
  -L, --max-line-length  print the maximum display width
  -w, --words            print the word counts
回复 打印

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

联系我们|手机版|欧卡2中国 ( 湘ICP备11020288号-1 )

GMT+8, 2024-6-26 16:38 , Processed in 0.039708 second(s), 10 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表