Check if file exists and is executable by the current process
Returns an exit code of 0 if the file is executable by the current process.
Authored by: Sidratul Muntahafile
Command
Copy
[[ -x file ]]
Tags
Edit in GitHub
Copied
Returns an exit code of 0 if the file is executable by the current process.
Authored by: Sidratul Muntaha[[ -x file ]]