In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article takes a look at using linux's diffstat command to display statistics. There is a certain reference value, friends in need can refer to, hope to help you.
The diffstat command is used to read the output of diff, and then count the differences between inserts, deletions and modifications of each file.
Syntax format: diffstat [parameters]
Common parameters:
-n specifies the file name length, which must be greater than or equal to the longest file name of all files-p is the same as the-n parameter, but here includes the file path-w specifies the width of the field when output-V displays version information
Reference example
Compare the file "testf.txt" with the same name under the directory "test1" and "test2" using the diff directive. Then use the diffstat instruction to statistically display the results:
[root@linuxcool ~] # diff test1 test2 | the above is a brief introduction to using linux's diffstat command to display statistics. Of course, you have to use the above differences in detail before you understand them. If you want to know more, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.