Сравните два файла сценария оболочки
if cmp -s "file1" "file2"
then
echo "The files match"
else
echo "The files are different"
fi
Deska
if cmp -s "file1" "file2"
then
echo "The files match"
else
echo "The files are different"
fi