troubleshooting Question

ksh compare two files

Avatar of saibsk
saibsk asked on
Shell Scripting
1 Comment1 Solution1292 ViewsLast Modified:
In a directory I have four files named something like this
source_client002.out
dest_client002.out
source_client002_data.out
dest_client002_data.out.

I want to compare the source_client002.out with dest_client002.out and source_client002_data.out with dest_client002_data.out and generate a report with the differences using shell script. Please advise. There are more files in the directory with different client numbers where I need to similarly compare.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 1 Comment.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros