Special File

Special File

Post by Alan Perr » Thu, 27 Feb 2003 03:58:44



... O.K....

In my home directory i have a file with no name and I cannot figure out how
to figure out the name so that I can remove it... here is my ls output

chainsaw% ls -l | more
total 256
-rw-r--r--       1 aperry   sysadmin    1440   Jan  15  20:42
-rwxr--r--       1 root      other          23859 Nov 22 11:28
adduser.sh*
-rw-rw-rw-     1 aperry  sysadmin    12269 Aug  22 2001    AdobeFnt.lst

You can see that the first file has no name. How can I remove this file?

Thanks in advance.....

 
 
 

Special File

Post by Rich Tee » Thu, 27 Feb 2003 04:34:10



> chainsaw% ls -l | more
> total 256
> -rw-r--r--       1 aperry   sysadmin    1440   Jan  15  20:42
> -rwxr--r--       1 root      other          23859 Nov 22 11:28
> adduser.sh*
> -rw-rw-rw-     1 aperry  sysadmin    12269 Aug  22 2001    AdobeFnt.lst

> You can see that the first file has no name. How can I remove this file?

Shouldn't the File With No Name be owned by Clint Eastwood?  :-)

Try rm -i *

--
Rich Teer

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-online.net

 
 
 

Special File

Post by Alan Perr » Thu, 27 Feb 2003 05:24:18


I thought of that, but I don't know if this file is important to me or not.
I might have just renamed it by accident, or it could just be a vi mistake,
I am not sure. So I am trying to find a way to see what it is.

Thanks though....


> > chainsaw% ls -l | more
> > total 256
> > -rw-r--r--       1 aperry   sysadmin    1440   Jan  15  20:42
> > -rwxr--r--       1 root      other          23859 Nov 22 11:28
> > adduser.sh*
> > -rw-rw-rw-     1 aperry  sysadmin    12269 Aug  22 2001    AdobeFnt.lst

> > You can see that the first file has no name. How can I remove this file?

> Shouldn't the File With No Name be owned by Clint Eastwood?  :-)

> Try rm -i *

> --
> Rich Teer

> President,
> Rite Online Inc.

> Voice: +1 (250) 979-1638
> URL: http://www.rite-online.net

 
 
 

Special File

Post by Rich Tee » Thu, 27 Feb 2003 05:57:01


Please don't top post.

Quote:> I thought of that, but I don't know if this file is important to me or not.
> I might have just renamed it by accident, or it could just be a vi mistake,
> I am not sure. So I am trying to find a way to see what it is.

So why did you ask how to remove it?!  :-)

ls -b will reveal (in octal) what the hidden characters are.
Translate them from octal, and away you go.

--
Rich Teer

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-online.net

 
 
 

Special File

Post by CJT » Thu, 27 Feb 2003 02:39:38



> I thought of that, but I don't know if this file is important to me or not.
> I might have just renamed it by accident, or it could just be a vi mistake,
> I am not sure. So I am trying to find a way to see what it is.

Double click on it in the CDE gui file manager.
> Thanks though....



>>>chainsaw% ls -l | more
>>>total 256
>>>-rw-r--r--       1 aperry   sysadmin    1440   Jan  15  20:42
>>>-rwxr--r--       1 root      other          23859 Nov 22 11:28
>>>adduser.sh*
>>>-rw-rw-rw-     1 aperry  sysadmin    12269 Aug  22 2001    AdobeFnt.lst

>>>You can see that the first file has no name. How can I remove this file?

>>Shouldn't the File With No Name be owned by Clint Eastwood?  :-)

>>Try rm -i *

>>--
>>Rich Teer

>>President,
>>Rite Online Inc.

>>Voice: +1 (250) 979-1638
>>URL: http://www.rite-online.net

 
 
 

Special File

Post by James H. Caldwel » Thu, 27 Feb 2003 08:18:19



Quote:> I thought of that, but I don't know if this file is important to me or
not.
> I might have just renamed it by accident, or it could just be a vi
mistake,
> I am not sure. So I am trying to find a way to see what it is.

As Rich said in a later post, you can use "ls -b" to see the unprintable
characters in the file name.  You can also use one of the GUI file
managers (/usr/openwin/bin/filemgr or /usr/dt/bin/dtfile) to rename
the file.  I would not double click on the file since it may launch the
file in a way that you do not expect.

James H. Caldwell

 
 
 

Special File

Post by Charles So » Thu, 27 Feb 2003 15:43:03




> > chainsaw% ls -l | more
> > total 256
> > -rw-r--r--       1 aperry   sysadmin    1440   Jan  15  20:42
> > -rwxr--r--       1 root      other          23859 Nov 22 11:28
> > adduser.sh*
> > -rw-rw-rw-     1 aperry  sysadmin    12269 Aug  22 2001    AdobeFnt.lst

> > You can see that the first file has no name. How can I remove this file?

> Shouldn't the File With No Name be owned by Clint Eastwood?  :-)

> Try rm -i *

Richard Harris once had a File Named Horse...

Charles

 
 
 

Special File

Post by Anthony Mandi » Thu, 27 Feb 2003 20:40:31



> > Shouldn't the File With No Name be owned by Clint Eastwood?  :-)
...
> Richard Harris once had a File Named Horse...

        So was it Michael Jackson who rode on a horse with no name?

-am     ? 2003

 
 
 

1. File limitations to 2 GB and driver special files

Hello,

I actually writting a driver for a specific board for Solaris 2.5.1.
I use a character based driver, with a read entry point. When I am
reading on this device, the system generates a EINVAL sys error when the
2 GB limits is reached while reading. In this case, my read entry point
is not called by the read system call. The problem appears when I have
acquired 2 giga bytes of data.

The problem comes from the offset in the file descriptor. I know I could
use a 64 bits offset value instead of a 32 bits by setting the flag
D_64BITS in the cb_flags of my cb_ops structure but this is not a good
solution for me. I consider I should be able to read indefinitivly data
on my device without having such a problem.

I'd like to know what should I do to remove the offset managment for my
driver.

Please, send response to both newsgroup and mail.

Thanks

Gael MARTIN
Enertec


2. Upgrading to RedHat 3.0.3

3. Special file names in prototype file

4. SNMP support

5. Some device special files missing after restoring from mksysb

6. piping "cat" & "find" ?

7. is a regular/special file open ?

8. need help for pop3 and linux with win98 clients

9. UltraNewbie ?? Special Files for LSTAT

10. Can't Copy Special File To Floppy

11. how do you remove special files - char & block

12. Need help in opening a character special file....

13. 2.2.18/ext2: special file corruption?