我想知道如何在文件的一行中获取字节数。
我知道我可以wc -l用来获取文件中的行数,以及wc -c获取文件中的总字节数。但是,我想要的是仅在文件的一行中获取字节数。
wc -l
wc -c
我怎么能做到这一点?
text-processing newlines wc
输出列表命令是否可以包含列出的权限。例如,在执行find / -name filename 2> /dev/null并获得结果时,是否可以让我的结果包含文件权限?提前致谢!
find / -name filename 2> /dev/null
permissions find display
我想知道如何在不更改压缩文件的 i 节点的情况下 gzip 文件。
linux gzip
display ×1
find ×1
gzip ×1
linux ×1
newlines ×1
permissions ×1
text-processing ×1
wc ×1