Tagged Questions
3
votes
2answers
155 views
Finding program name by wildcard pattern
I am trying to write a script that will attempt to find if a certain program is installed. Lets say that the program is called, myprog. The problem is that the program can be named in different ...
3
votes
7answers
238 views
“which” with a little “grep”-like solution?
# which mkdir
/bin/mkdir
# which mkdi
#
How can I get the path of the e.g.: "mkdir"'s binary without knowing the name of the binary file? (command). So that which "mkdi" would output the ...