fn: sgnd_validate_executable
Purpose
Test whether a filesystem path is executable.
Arguments
$1— Path to test.
Returns
- 0 when the path is executable; 1 otherwise.
Usage
sgnd_validate_executable "/bin/bash"

fn: sgnd_validate_executable
Test whether a filesystem path is executable.
$1 — Path to test. sgnd_validate_executable "/bin/bash"