if [ -f /tmp/file ]; then echo 1; fi
/tmp/file
- file that's being checked for existenceecho 1
- replace this with your code that should run of file exists
link_youtube: https://youtu.be/gSg49e-_xvg
if [ -f /tmp/file ]; then echo 1; fi
/tmp/file
- file that's being checked for existenceecho 1
- replace this with your code that should run of file existslink_youtube: https://youtu.be/gSg49e-_xvg