public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] Shell problem
  2008-08-11 12:57 [gentoo-user] Shell problem Ivan Alden
@ 2008-08-11  3:18 ` Francisco Ares
  2008-08-11  3:23   ` Zhou Rui
  2008-08-11  3:44 ` Volker Armin Hemmann
  2008-08-11  5:12 ` felix
  2 siblings, 1 reply; 6+ messages in thread
From: Francisco Ares @ 2008-08-11  3:18 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 764 bytes --]

looks like an "alias", maybe you have accidentaly edited .bashrc or
.bash_profile

hope this helps
Francisco

On Mon, Aug 11, 2008 at 9:57 AM, Ivan Alden <ivan.alden@gmail.com> wrote:

> Hi all,
>
> I was working in a shell with tar and I changed something where now when
> I type "*" it interprets it as --exlucde
>
> i.e
>
> $ *
> bash: --exlucde: command not found
>
> or
>
> $ ls *
> ls: unrecognized option `--exlucde'
> Try `ls --help' for more information.
>
> how can I fix this?
>
> thanks,
> Ivan
>
>
>


-- 
"If you have an apple and I have an apple and we exchange apples then you
and I will still each have one apple. But if you have an idea and I have one
idea and we exchange these ideas, then each of us will have two ideas." -
George Bernard Shaw

[-- Attachment #2: Type: text/html, Size: 1196 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Shell problem
  2008-08-11  3:18 ` Francisco Ares
@ 2008-08-11  3:23   ` Zhou Rui
  0 siblings, 0 replies; 6+ messages in thread
From: Zhou Rui @ 2008-08-11  3:23 UTC (permalink / raw
  To: gentoo-user

2008/8/11 Francisco Ares <frares@gmail.com>:
> looks like an "alias", maybe you have accidentaly edited .bashrc or
> .bash_profile
>
Just input alias in shell to check if the alias about * exists.

> hope this helps
> Francisco
>
> On Mon, Aug 11, 2008 at 9:57 AM, Ivan Alden <ivan.alden@gmail.com> wrote:
>>
>> Hi all,
>>
>> I was working in a shell with tar and I changed something where now when
>> I type "*" it interprets it as --exlucde
>>
>> i.e
>>
>> $ *
>> bash: --exlucde: command not found
>>
>> or
>>
>> $ ls *
>> ls: unrecognized option `--exlucde'
>> Try `ls --help' for more information.
>>
>> how can I fix this?
>>
>> thanks,
>> Ivan
>>
>>
>
>
>
> --
> "If you have an apple and I have an apple and we exchange apples then you
> and I will still each have one apple. But if you have an idea and I have one
> idea and we exchange these ideas, then each of us will have two ideas." -
> George Bernard Shaw
>



-- 
BR,
Zhou Rui



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Shell problem
  2008-08-11 12:57 [gentoo-user] Shell problem Ivan Alden
  2008-08-11  3:18 ` Francisco Ares
@ 2008-08-11  3:44 ` Volker Armin Hemmann
  2008-08-11  5:12 ` felix
  2 siblings, 0 replies; 6+ messages in thread
From: Volker Armin Hemmann @ 2008-08-11  3:44 UTC (permalink / raw
  To: gentoo-user

On Montag, 11. August 2008, Ivan Alden wrote:
> Hi all,
>
> I was working in a shell with tar and I changed something where now when
> I type "*" it interprets it as --exlucde
>
> i.e
>
> $ *
> bash: --exlucde: command not found
>
> or
>
> $ ls *
> ls: unrecognized option `--exlucde'
> Try `ls --help' for more information.
>
> how can I fix this?
>
> thanks,
> Ivan

unalias?




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Shell problem
  2008-08-11 12:57 [gentoo-user] Shell problem Ivan Alden
  2008-08-11  3:18 ` Francisco Ares
  2008-08-11  3:44 ` Volker Armin Hemmann
@ 2008-08-11  5:12 ` felix
  2008-08-11 15:36   ` Ivan Alden
  2 siblings, 1 reply; 6+ messages in thread
From: felix @ 2008-08-11  5:12 UTC (permalink / raw
  To: gentoo-user

On Mon, Aug 11, 2008 at 12:57:26PM +0000, Ivan Alden wrote:
> Hi all,
> 
> I was working in a shell with tar and I changed something where now when
> I type "*" it interprets it as --exlucde
> 
> i.e 
> 
> $ *
> bash: --exlucde: command not found
> 
> or
> 
> $ ls *
> ls: unrecognized option `--exlucde'
> Try `ls --help' for more information.

Does this happen in every directory, or do you have a file named
"--exlucde" that you created by mistake in the dir where this happens?
That name would tend to sort first ahead of most other names.  I can
recreate it like this:

    $ touch ./--exlucde
    $ ls *
    ls: unrecognized option '--exlucde'
    Try `ls --help' for more information.
    $ 

and I can fix it like this:

    $ rm ./--exlucde
    $ 

-- 
            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
     Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] Shell problem
@ 2008-08-11 12:57 Ivan Alden
  2008-08-11  3:18 ` Francisco Ares
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ivan Alden @ 2008-08-11 12:57 UTC (permalink / raw
  To: gentoo-user

Hi all,

I was working in a shell with tar and I changed something where now when
I type "*" it interprets it as --exlucde

i.e 

$ *
bash: --exlucde: command not found

or

$ ls *
ls: unrecognized option `--exlucde'
Try `ls --help' for more information.

how can I fix this?

thanks,
Ivan




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Shell problem
  2008-08-11  5:12 ` felix
@ 2008-08-11 15:36   ` Ivan Alden
  0 siblings, 0 replies; 6+ messages in thread
From: Ivan Alden @ 2008-08-11 15:36 UTC (permalink / raw
  To: gentoo-user

Hi Felix,

That what it exactly. I couldn't notice it because there were tons of
files in that directory. 

I appreciate your help,
Ivan

On Sun, 2008-08-10 at 22:12 -0700, felix@crowfix.com wrote:
> On Mon, Aug 11, 2008 at 12:57:26PM +0000, Ivan Alden wrote:
> > Hi all,
> > 
> > I was working in a shell with tar and I changed something where now when
> > I type "*" it interprets it as --exlucde
> > 
> > i.e 
> > 
> > $ *
> > bash: --exlucde: command not found
> > 
> > or
> > 
> > $ ls *
> > ls: unrecognized option `--exlucde'
> > Try `ls --help' for more information.
> 
> Does this happen in every directory, or do you have a file named
> "--exlucde" that you created by mistake in the dir where this happens?
> That name would tend to sort first ahead of most other names.  I can
> recreate it like this:
> 
>     $ touch ./--exlucde
>     $ ls *
>     ls: unrecognized option '--exlucde'
>     Try `ls --help' for more information.
>     $ 
> 
> and I can fix it like this:
> 
>     $ rm ./--exlucde
>     $ 
> 




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-08-11 12:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-11 12:57 [gentoo-user] Shell problem Ivan Alden
2008-08-11  3:18 ` Francisco Ares
2008-08-11  3:23   ` Zhou Rui
2008-08-11  3:44 ` Volker Armin Hemmann
2008-08-11  5:12 ` felix
2008-08-11 15:36   ` Ivan Alden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox