Testing a file exists

Published ยท Updated 10 Feb 2020

Something like this:

[[ -e $1 ]] && echo $1 exists || echo $1 does not exist