Skip to content

Instantly share code, notes, and snippets.

@MikaelFangel
Created February 8, 2023 18:25
Show Gist options
  • Save MikaelFangel/c45536c3a6e3f9862ce0556b01c07a64 to your computer and use it in GitHub Desktop.
Save MikaelFangel/c45536c3a6e3f9862ce0556b01c07a64 to your computer and use it in GitHub Desktop.
Search the path environment variable in bash with find
find $(echo $PATH | sed 's/:/ /g') -type f -name 'ls'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment