bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I found one bug in HP-UX fortuna B.11.11 U 9000/800 4254029964


From: Bob Proulx
Subject: Re: I found one bug in HP-UX fortuna B.11.11 U 9000/800 4254029964
Date: Wed, 13 Jul 2005 09:47:58 -0600
User-agent: Mutt/1.5.9i

Reddy, Loka Dayakar, JR (Dayakar) wrote:
> I did ls -ltr
> It displayed directories and files
> In my directory I found one directory with the "om" name. Even I didn't
> create that directory.
> Then i did cd om, but it said "ksh: om:  not found"

It is very likely that the name of the directory contains characters
which are not being displayed properly on your terminal.  Therefore
the name is not really "om" but really something else entirely.  That
is likely to be the reason you could not cd there.

Use the -b option to ls to display non-printable characters as escape
sequences.

  ls -lb

There are several ways to rename those files.  I find the easiest is
to allow the shell to expand it automatically.  But that is hard to
describe.  Easier is to grip upon a part of the file and to use
wildcards for the other parts.  Assuming that "om" is the ending part
of the name you might try this.

  ls ld *om

If that shows only one name then you might try to rename it.

  mv *om bettername

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]