Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash if file content equals

str=ABCD
if [[ $(< test.txt) != "$str" ]]; then
    # send e-mail
fi
Comment

PREVIOUS NEXT
Code Example
Shell :: sudo run command as another user 
Shell :: install minikube chocolatey 
Shell :: check linux disk ussed in wsl wwindow 
Shell :: suse linux update 
Shell :: git diff between one file 
Shell :: windows how to kill localhost:3000 
Shell :: enter a stopped docker container 
Shell :: on hotspot and wifi at the same time arch linux 
Shell :: GIT: change branch 
Shell :: spectacle linux 
Shell :: how to copy folder in linux 
Shell :: connect to heroku cli 
Shell :: linux ls show full path 
Shell :: create group in linux command example 
Shell :: Command to create a new Vue app 
Shell :: serverless deploy missing credentials in config 
Shell :: git checkout fast 
Shell :: cookiecutter 
Shell :: generate keystore file for android 
Shell :: create zip file command line 
Shell :: linux makefile 
Shell :: npm user install packages 
Shell :: install dpkg vscode 
Shell :: how to make ubuntu use all available disk 
Shell :: busybox ubuntu 
Shell :: exit branch git 
Shell :: github deploy server 
Shell :: crear una aplicacion con angular cli 
Shell :: add project to github 
Shell :: docker run -d 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =