[PLUG] New desktop: issue with 'find'

Johnathan Mantey manteyjg at gmail.com
Thu Oct 4 12:41:12 PDT 2018


Wow.... try to find this line inside 'man find'

command [-pVv] command [arg ...]
Run command with args suppressing the normal shell function lookup.

On Thu, Oct 4, 2018 at 12:34 PM Johnathan Mantey <manteyjg at gmail.com> wrote:

> BASH provides *command* as an override to specifically bypass redirects
> such as an alias.  If you don't know *find* is really */usr/bin/find* you
> can use *command* to tell BASH you don't want it to consider aliases.
>
> On Thu, Oct 4, 2018 at 12:31 PM wes <plug at the-wes.com> wrote:
>
>> I'm not sure what *command does (aside from employing Buzz Lightyear), one
>> can skip alias checking by using a backslash as the first character. ie:
>>
>> \find / -name stripes.png
>>
>> -wes
>>
>> On Thu, Oct 4, 2018 at 12:26 PM Johnathan Mantey <manteyjg at gmail.com>
>> wrote:
>>
>> > Perhaps you have an alias or some such in the way?
>> >
>> > Try *command find ~ -name .bashrc*
>> >
>> >
>> > On Thu, Oct 4, 2018 at 11:52 AM Rich Shepard <rshepard at appl-ecosys.com>
>> > wrote:
>> >
>> > > On Thu, 4 Oct 2018, David wrote:
>> > >
>> > > > Try this:
>> > > >
>> > > >     find / -name 'stripes.png'
>> > >
>> > > > Not sure it will do anything different,
>> > >
>> > > David,
>> > >
>> > >    Nope. No difference. and it's a forward slash for searches starting
>> > at /
>> > > and a dot if starting at the pwd.
>> > >
>> > > >     echo $SHELL
>> > > >     `echo $SHELL` --version
>> > >
>> > >    Same distribution version so same bash version.
>> > >
>> > > Thanks for the thought,
>> > >
>> > > Rich
>> > > _______________________________________________
>> > > PLUG mailing list
>> > > PLUG at pdxlinux.org
>> > > http://lists.pdxlinux.org/mailman/listinfo/plug
>> > >
>> > _______________________________________________
>> > PLUG mailing list
>> > PLUG at pdxlinux.org
>> > http://lists.pdxlinux.org/mailman/listinfo/plug
>> >
>> _______________________________________________
>> PLUG mailing list
>> PLUG at pdxlinux.org
>> http://lists.pdxlinux.org/mailman/listinfo/plug
>>
>


More information about the PLUG mailing list