Just some tips and tricks
while(true); do
C=$(ps -u yarn |grep -vc PID);
echo "${C} yarn processes";
if [[ $C -eq 0 ]]; then
tput bel;
fi;
sleep 10;
done
diff -y /file/1.txt /file/2.txt
Use the arg: --resolve [host]:[port]:[ip]
curl 'http://api.example.net/api' --resolve api.example.net:80:10.0.0.50