[PLUG] strange ln -s behavior

Rogan Creswick creswick at gmail.com
Thu Jun 21 02:15:26 UTC 2007


On 6/20/07, William A Morita <wamorita at hevanet.com> wrote:
> Keith,
>
> If an alias for "ln" had been set, your binary would be as you expect,
> But you would be running something else.
> If this happens again, try "unalias ln" to see if the behavior changes.

In bash you can also prepend a command with a "\" to "unalias" it just
once.  eg:

$ \ls --color=always

--Rogan

>
> Question: Had you been setting aliases for "ls" and miskeyed?
> (I mistyped "ls" instead of "ln" during the composing of this email.)
>
> - Bill Morita
>
> wamorita at hevanet.com
> Home: (503) 697-6994
> Cell: (503) 260-3876
>
>
> -----Original Message-----
> From: plug-bounces at lists.pdxlinux.org
> [mailto:plug-bounces at lists.pdxlinux.org] On Behalf Of Keith Lofstrom
> Sent: Wednesday, June 20, 2007 6:43 AM
> To: drew wymore; PLUG
> Subject: Re: [PLUG] strange ln -s behavior
>
>
> On 6/19/07, Keith Lofstrom <keithl at kl-ic.com> wrote:
> > For about a 15 minute period, I was having the damnedest time making a
> > simple symbolic link.  ...
>
> On Tue, Jun 19, 2007 at 12:50:46PM -0700, drew wymore wrote:
> > Keith,
> > Very unlikely but did you check the md5  checksum on it to make sure
> > something more malicious didn't happen to it?
>
> I did a cksum and compared to another machine - then copied the code for
> good measure.  Of course, if something really malicious was happening, the
> executable and the visible copy would be different and I wouldn't see a
> change in the visible copy.
>
> Keith
>
> --
> Keith Lofstrom          keithl at keithl.com         Voice (503)-520-1993
> KLIC --- Keith Lofstrom Integrated Circuits --- "Your Ideas in Silicon"
> Design Contracting in Bipolar and CMOS - Analog, Digital, and Scan ICs
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
>
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>



More information about the PLUG mailing list