Skip to content

Command path search shell function like where command

License

Notifications You must be signed in to change notification settings

ko1nksm-shlab/sh-findcmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sh-findcmd

Command path search shell function like where command.

Usage

. ./findcmd.sh

findcmd ret ls
echo "$ret" # => /bin/ls

if findcmd ls; then
  echo "Found ls command"
fi

About

Command path search shell function like where command

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages