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 425402996 4


From: Reddy, Loka Dayakar, JR (Dayakar)
Subject: RE: I found one bug in HP-UX fortuna B.11.11 U 9000/800 425402996 4
Date: Thu, 14 Jul 2005 11:34:27 +0530

Thanks Bob.
And we can rename the directory in the following way also.
 find . -inum 208946 -exec mv {}  new.filename \;

Regards,
Dayakar.


-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: Wednesday, July 13, 2005 9:18 PM
To: Reddy, Loka Dayakar, JR (Dayakar)
Cc: address@hidden
Subject: Re: I found one bug in HP-UX fortuna B.11.11 U 9000/800
4254029964


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]