Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Try using ls -i to get the inode number of the mystery file and then
use find . -inum <inode number> -exec cat {} \; to see what is in it.
If you then want to remove the file, you can use find again:
find . -inum <inode number> -exec rm {} \;
For example:
$ ls -i
3407 some_file 3787 another_file
3484 a_third_file 3177 a_fourth_file
$ find . -inum 3407 -exec cat {} \;
$ find . -inum 3407 -exec rm {} \;
-----Original Message-----
From: Buford, Rick [mailto:EMAIL:PROTECTED]
Sent: Friday, December 03, 1999 8:09 AM
To: EMAIL:PROTECTED
Subject: RE: [UUG/MLUG] odd file
nope...if I try to touch tat in /, it just makes a new one, if I then try to
remove "tat", it only takes out the one that I touched.
[EMAIL:PROTECTED /]# cat tat
cat: tat: No such file or directory
[EMAIL:PROTECTED /]# rm -f tat
[EMAIL:PROTECTED /]# dir | grep tat
-rw-r--r-- 1 root root 119 Dec 1 13:33 tat
[EMAIL:PROTECTED /]# touch tat
[EMAIL:PROTECTED /]# dir | grep tat
-rw-rw-r-- 1 root root 0 Dec 3 09:07 tat
-rw-r--r-- 1 root root 119 Dec 1 13:33 tat
[EMAIL:PROTECTED /]# rm -f tat
[EMAIL:PROTECTED /]# dir | grep tat
-rw-r--r-- 1 root root 119 Dec 1 13:33 tat
[EMAIL:PROTECTED /]#
I did reboot the system to floppy, and run fsck on the file system, came
back fine.
Rick Buford
Chief Clerk
Medical Records - Transcription
DC042.06 / 884-7452
"Is there another word for synonym?"
|-----Original Message-----
|From: Curtis Hall [mailto:EMAIL:PROTECTED]
|Sent: Thursday, December 02, 1999 4:29 PM
|To: EMAIL:PROTECTED
|Subject: Re: [UUG/MLUG] odd file
|
|
|mmm looks neat.
|can you guess around it? like cat *tat*
|or cat tat*?
|
|----- Original Message -----
|From: Buford, Rick <EMAIL:PROTECTED>
|To: <EMAIL:PROTECTED>
|Sent: Thursday, December 02, 1999 4:04 PM
|Subject: RE: [UUG/MLUG] odd file
|
|
|> [EMAIL:PROTECTED /]# ls -lb | grep tat
|> -rw-r--r-- 1 root root 119 Dec 1 13:33 tat\ \b\b\b
|>
|> k...now I'm really confused. Where did this come from?
|>
|> Rick Buford
|> Chief Clerk
|> Medical Records - Transcription
|> DC042.06 / 884-7452
|> "Is there another word for synonym?"
|>
|>
|> |-----Original Message-----
|> |From: Dana Huyler [mailto:EMAIL:PROTECTED]
|> |Sent: Thursday, December 02, 1999 3:46 PM
|> |To: 'Mizzou UNIX/Linux Users Group'
|> |Subject: Re: [UUG/MLUG] odd file
|> |
|> |
|> |On Thu, 2 Dec 1999, Buford, Rick wrote:
|> |
|> |> What would cause a file to suddenly appear in "/", and
|> |then totally deny
|> |> that it exists?
|> |> [EMAIL:PROTECTED /]# dir | grep tat
|> |> -rw-r--r-- 1 root root 119 Dec 1 13:33 tat
|> |> [EMAIL:PROTECTED /]# rm -f tat
|> |> [EMAIL:PROTECTED /]# dir | grep tat
|> |> -rw-r--r-- 1 root root 119 Dec 1 13:33 tat
|> |> [EMAIL:PROTECTED /]#
|> |
|> |'tat' could have some special characters in it, try
|> |
|> |ls -lb
|> |
|> |and see what comes up with 'tat'.
|> |
|>
|