Click here to learn more about Commands.dev from a blog post written by one of our engineers!
Commands
About
Contribute
Dark Mode
Check if a file exists
Returns an exit code of 0 if the file exists.
Authored by:
Sidratul Muntaha
Brought to you by Warp, a free terminal reimagined to work like a modern app.
Download Now
file
Command
Copy
[[ -e
file
]]
Tags
shell
Edit in GitHub
Copy URL
Copied