DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
bash if file content equals
str=ABCD if [[ $(< test.txt) != "$str" ]]; then # send e-mail fi
PREVIOUS
NEXT
Tagged:
#bash
#file
#content
#equals
ADD COMMENT
Topic
COMMENT
Name
4+3 =
Submit