DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
compare two files shell script
if cmp -s "file1" "file2" then echo "The files match" else echo "The files are different" fi
Source by superuser.com #
PREVIOUS
NEXT
Tagged:
#compare
#files
#shell
#script
ADD COMMENT
Topic
COMMENT
Name
2+9 =
Submit