In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Fc:
What is 1.fc:
Fc is the abbreviation of file compare, that is, file comparison.
What can 2.fc be used for:
Official explanation: compare two files or sets of files and show the differences between them
Personal understanding: fc prints out different lines in two files, and the command executor can visually see the difference between the two files on lines. (PS:// can't see the common lines between the two files; so it can be used to see the differences between files and compare the differences in file version control.)
How to use 3.fc:
Fc [/ A] [/ C] [/ L] [/ LBn] [/ N] [/ OOF[LINE]] [/ T] [/ U] [/ W] [/ nnn] [drive1:] [path2] filename1 [drive2:] [path3] filename2
Fc / B [drive1:] [/ path2] filename1 [drive2:] [/ path3] filename2
/ A-only the first and last lines in each different place are displayed, and all different lines are displayed by default
/ C-case-insensitive when comparing
/ L-compare files as ASCII files
/ LBn-sets the maximum value of consecutive mismatches to the specified number of rows. That is, set the maximum number of different rows to be compared, and the default value is 100. If the number of different rows exceeds this value, the comparison is canceled.
/ N-displays the number of lines on the ASCII comparison, that is, the line numbers of different lines in two files are shown in the comparison result
/ T-use tabs as tabs instead of spaces, and tabs as spaces by default
/ U-compare files as UNICODE text files, default to byte by byte comparison
/ W-compress whitespace for comparison, that is, skip tabs and spaces
/ nnn-- specifies the number of rows that must be matched continuously after the mismatch, that is, only part of the content with N lines matching after the mismatch is displayed
/ B-compare files in binary
Considerations for 4.fc:
4.1 fc, like comp, compares byte backward from the first line
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.