Find In Paths
- findinpaths
- Arguments:
$1
- Filename to search for[
$2
…] - Array of paths
- Output:
stdout - Full path of files found in all the paths
Bash CLI version of findinpaths
See also
- findinpaths
- Arguments:
$1
- Filename to search for[
$2
…] - Array of paths
- Output:
stdout - Full path of files found in all the paths
Searches an array of paths, looking for a file
Example
findinpaths ls /bin /usr/bin /usr/local/bin
# /bin/ls