Discussion:
[Help-bash] Help some problem in my Bash
Budi
2018-02-13 23:07:32 UTC
Permalink
I've used where command several times but just now typed it ...
$ where grep
-bash: where: command not found

What's my mistake that's spoiling my own bash ?
sincee help is really hoped and thanked... Thansk in advance
Clark Wang
2018-02-14 03:50:27 UTC
Permalink
Post by Budi
I've used where command several times but just now typed it ...
$ where grep
-bash: where: command not found
Try "whereis bash"? Or "which bash"?
Chet Ramey
2018-02-14 13:57:28 UTC
Permalink
Post by Budi
I've used where command several times but just now typed it ...
$ where grep
-bash: where: command not found
What's my mistake that's spoiling my own bash ?
You may have meant `whereis'. But `type grep' is a better way to accomplish
what you want.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU ***@case.edu http://tiswww.cwru.edu/~chet/
Loading...