* Summary: filename missing (fwd)
@ 1995-08-06 15:18 Chua Koon Teck
0 siblings, 0 replies; only message in thread
From: Chua Koon Teck @ 1995-08-06 15:18 UTC (permalink / raw)
To: tru64-unix-managers
Hi
This list is simply terrific. Within minutes of posting my problem, I
have received many useful replies and solved the problem.
I have attached one of the reply which will explain and solve the
problem.
Thank you.
Have a nice day.
Regards
____________________________________________________________________________
Chua Koon Teck
Singapore Telecom
Comcentre
SingNet
email=koonteck@singnet.com.sg
URL="http://www.singnet.com.sg/"
____________________________________________________________________________
---------- Forwarded message ----------
Date: Sun, 6 Aug 1995 10:45:48 -0400 (EDT)
From: Alex Garthwaite <alex@samwise.cis.upenn.edu>
To: koonteck@singnet.com.sg
Subject: Re: filename missing
Chua Koon Teck wrote:
>
> Hi
>
> My system is experiencing some directory listing which looks like the
> following :
>
> -rw------- 1 wsped adusub 1025 Jan 13 1995
> drwxr-xr-x 7 wsped adusub 8192 Aug 6 19:05 .
> drwxr-xr-x9663 root system 253952 Aug 6 01:22 ..
> -rw------- 1 wsped adusub 2442 Apr 28 13:06 .addressbook
> -rwxr-xr-x 1 wsped adusub 1499 Feb 22 1994 .cshrc
>
> Notice that the first entry is a file with no name. Can someone teach me
> how to remove such file ? What is the cause of such a file ?
Most likely, the filename consists of control characters.
Try doing "ls -l | cat -vet". This will display the control characters
as two character sequences (i.e., ascii 1 will be displayed as ^A).
Note that the newline at the end of each line will be displayed as
a '$'. Once you know what the filename is, you can use quoting if
necessary to build the argument to rm.
When doing the rm command, I would try using some wildcarding to
make the specification easier and to include the '-i' option
so that you have the option of not removing file(s).
Files like this are usually caused by a program that opens a
file whose filename consists (partially) of control characters.
A common cause is a program that prompts for a filename and the user
does things like press the cursor keys.
Good luck.
--
Alex Garthwaite Internet: alex@cis.upenn.edu
Systems Programmer Computer and Information Science
University of Pennsylvania (215) 898-5617
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-08-06 15:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-08-06 15:18 Summary: filename missing (fwd) Chua Koon Teck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox