KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Greetings, I was wondering if there was a way to suppress ALL output of the diff command so that it doesn't output the differences but only returns a success status? diff $FILE1 $FILE2 if [ $? -ne 0 ];then echo Does not match output. else echo Match.
Tags (comma-separated)
Save Edits
Cancel