[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] Help some problem in my Bash
From: |
Chet Ramey |
Subject: |
Re: [Help-bash] Help some problem in my Bash |
Date: |
Wed, 14 Feb 2018 08:57:28 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
On 2/13/18 6:07 PM, Budi wrote:
> 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 address@hidden http://tiswww.cwru.edu/~chet/