Check if a file exists

Returns an exit code of 0 if the file exists.

Authored by: Sidratul Muntaha
file

Command
Copy
[[ -e file ]]
Tags