Answers for "bash if file content equals"

0

bash if file content equals

str=ABCD
if [[ $(< test.txt) != "$str" ]]; then
    # send e-mail
fi
Posted by: Guest on August-21-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language