FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 03-24-2008, 08:29 PM
"Richard Shaw"
 
Default "??" file in home dir.

Anyone know what this is? I couldn't find any relevant pages in Google.

I have a file called "??" (no quotes) in the home directory of my
mythtv user. When I try to do anything to the file it acts like it's
not there. Is this something that fsck would fix? I don't know if it's
related but I noticed it after using "switchdesk" a few times to try
different desktop managers.

Relevant info:
F8 x86_64

Thanks,
Richard

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 03-24-2008, 09:30 PM
"Patrick O'Callaghan"
 
Default "??" file in home dir.

On Mon, 2008-03-24 at 16:29 -0500, Richard Shaw wrote:
> Anyone know what this is? I couldn't find any relevant pages in Google.
>
> I have a file called "??" (no quotes) in the home directory of my
> mythtv user. When I try to do anything to the file it acts like it's
> not there. Is this something that fsck would fix? I don't know if it's
> related but I noticed it after using "switchdesk" a few times to try
> different desktop managers.

Probably came from a a malformed Shell redirect or whatever. Anyway,
given that the Shell will interpret ?? to mean "any file with a
two-letter name", need to escape the ? characters in order to pass the
filename to the Shell, e.g.: rm ??

You can also use the "-i" option to rm.

poc

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 03-24-2008, 11:34 PM
inode0
 
Default "??" file in home dir.

On Mon, Mar 24, 2008 at 4:29 PM, Richard Shaw <hobbes1069@gmail.com> wrote:
> Anyone know what this is? I couldn't find any relevant pages in Google.
>
> I have a file called "??" (no quotes) in the home directory of my
> mythtv user. When I try to do anything to the file it acts like it's
> not there. Is this something that fsck would fix? I don't know if it's
> related but I noticed it after using "switchdesk" a few times to try
> different desktop managers.

try some things like

$ ls -l '??'
$ file '??'

to get started figuring out what it is ... if a text file then

$ cat '??'

to look at it, etc.

John

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 03-25-2008, 06:20 AM
John Summerfield
 
Default "??" file in home dir.

Patrick O'Callaghan wrote:

On Mon, 2008-03-24 at 16:29 -0500, Richard Shaw wrote:

Anyone know what this is? I couldn't find any relevant pages in Google.

I have a file called "??" (no quotes) in the home directory of my
mythtv user. When I try to do anything to the file it acts like it's
not there. Is this something that fsck would fix? I don't know if it's
related but I noticed it after using "switchdesk" a few times to try
different desktop managers.


Probably came from a a malformed Shell redirect or whatever. Anyway,
given that the Shell will interpret ?? to mean "any file with a
two-letter name", need to escape the ? characters in order to pass the
filename to the Shell, e.g.: rm ??



Id' say it's a dodgy name, might not br ?? at all.

Try
echo ?? | xxd

eg
16:20 [summer@numbat ~]$ echo ?? | xxd
0000000: 3277 2061 7520 6b73 2073 7720 7433 2074 2w au ks sw t3 t
0000010: 6d20 7474 2076 6d0a m tt vm.
16:20 [summer@numbat ~]$ echo ??
2w au ks sw t3 tm tt vm
16:20 [summer@numbat ~]$


--

Cheers
John

-- spambait
1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 03-27-2008, 01:41 AM
"Richard Shaw"
 
Default "??" file in home dir.

On Tue, Mar 25, 2008 at 2:20 AM, John Summerfield
<debian@herakles.homelinux.org> wrote:
> Patrick O'Callaghan wrote:
> > On Mon, 2008-03-24 at 16:29 -0500, Richard Shaw wrote:
> >> Anyone know what this is? I couldn't find any relevant pages in Google.
> >>
> >> I have a file called "??" (no quotes) in the home directory of my
> >> mythtv user. When I try to do anything to the file it acts like it's
> >> not there. Is this something that fsck would fix? I don't know if it's
> >> related but I noticed it after using "switchdesk" a few times to try
> >> different desktop managers.
> >
> > Probably came from a a malformed Shell redirect or whatever. Anyway,
> > given that the Shell will interpret ?? to mean "any file with a
> > two-letter name", need to escape the ? characters in order to pass the
> > filename to the Shell, e.g.: rm ??
> >
>
> Id' say it's a dodgy name, might not br ?? at all.
>
> Try
> echo ?? | xxd
>
> eg
> 16:20 [summer@numbat ~]$ echo ?? | xxd
> 0000000: 3277 2061 7520 6b73 2073 7720 7433 2074 2w au ks sw t3 t
> 0000010: 6d20 7474 2076 6d0a m tt vm.
> 16:20 [summer@numbat ~]$ echo ??
> 2w au ks sw t3 tm tt vm
> 16:20 [summer@numbat ~]$
>
>
> --
>
> Cheers
> John
>
> -- spambait
> 1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu
> -- Advice
> http://webfoot.com/advice/email.top.php
> http://www.catb.org/~esr/faqs/smart-questions.html
> http://support.microsoft.com/kb/555375
>
> You cannot reply off-list:-)
>

Tried everything everyone suggested, no matter what I do it gives me
the standard "No file or directory" blah blah blah... Maybe I should
just fsck it and see if it goes away...

Richard

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 03-27-2008, 01:50 AM
"Robert P. J. Day"
 
Default "??" file in home dir.

On Wed, 26 Mar 2008, Richard Shaw wrote:

> On Tue, Mar 25, 2008 at 2:20 AM, John Summerfield
> <debian@herakles.homelinux.org> wrote:
> > Patrick O'Callaghan wrote:
> > > On Mon, 2008-03-24 at 16:29 -0500, Richard Shaw wrote:
> > >> Anyone know what this is? I couldn't find any relevant pages in Google.
> > >>
> > >> I have a file called "??" (no quotes) in the home directory of my
> > >> mythtv user. When I try to do anything to the file it acts like it's
> > >> not there. Is this something that fsck would fix? I don't know if it's
> > >> related but I noticed it after using "switchdesk" a few times to try
> > >> different desktop managers.
> > >
> > > Probably came from a a malformed Shell redirect or whatever. Anyway,
> > > given that the Shell will interpret ?? to mean "any file with a
> > > two-letter name", need to escape the ? characters in order to pass the
> > > filename to the Shell, e.g.: rm ??
> > >
> >
> > Id' say it's a dodgy name, might not br ?? at all.
> >
> > Try
> > echo ?? | xxd
> >
> > eg
> > 16:20 [summer@numbat ~]$ echo ?? | xxd
> > 0000000: 3277 2061 7520 6b73 2073 7720 7433 2074 2w au ks sw t3 t
> > 0000010: 6d20 7474 2076 6d0a m tt vm.
> > 16:20 [summer@numbat ~]$ echo ??
> > 2w au ks sw t3 tm tt vm
> > 16:20 [summer@numbat ~]$
>
> Tried everything everyone suggested, no matter what I do it gives me
> the standard "No file or directory" blah blah blah... Maybe I should
> just fsck it and see if it goes away...

try

$ ls -l | cat -etv

that might show you if there are special characters (like tabs)
embedded in the filename.

rday
--

================================================== ======================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.

http://crashcourse.ca Waterloo, Ontario, CANADA
================================================== ======================

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 03-27-2008, 01:58 AM
Roger Heflin
 
Default "??" file in home dir.

Richard Shaw wrote:

On Tue, Mar 25, 2008 at 2:20 AM, John Summerfield
<debian@herakles.homelinux.org> wrote:

Patrick O'Callaghan wrote:
> On Mon, 2008-03-24 at 16:29 -0500, Richard Shaw wrote:
>> Anyone know what this is? I couldn't find any relevant pages in Google.
>>
>> I have a file called "??" (no quotes) in the home directory of my
>> mythtv user. When I try to do anything to the file it acts like it's
>> not there. Is this something that fsck would fix? I don't know if it's
>> related but I noticed it after using "switchdesk" a few times to try
>> different desktop managers.
>
> Probably came from a a malformed Shell redirect or whatever. Anyway,
> given that the Shell will interpret ?? to mean "any file with a
> two-letter name", need to escape the ? characters in order to pass the
> filename to the Shell, e.g.: rm ??
>

Id' say it's a dodgy name, might not br ?? at all.

Try
echo ?? | xxd

eg
16:20 [summer@numbat ~]$ echo ?? | xxd
0000000: 3277 2061 7520 6b73 2073 7720 7433 2074 2w au ks sw t3 t
0000010: 6d20 7474 2076 6d0a m tt vm.
16:20 [summer@numbat ~]$ echo ??
2w au ks sw t3 tm tt vm
16:20 [summer@numbat ~]$


--

Cheers
John

-- spambait
1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)



Tried everything everyone suggested, no matter what I do it gives me
the standard "No file or directory" blah blah blah... Maybe I should
just fsck it and see if it goes away...

Richard


cd to dir with the file
find | more

note the inode number of the problem file.

find -inum number -ls

Make sure the above returns the correct file.

then run:
find -inum number -exec rm -i {} ;

Roger

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 03-27-2008, 02:06 AM
"Richard Shaw"
 
Default "??" file in home dir.

On Wed, Mar 26, 2008 at 9:50 PM, Robert P. J. Day <rpjday@crashcourse.ca> wrote:
>
> On Wed, 26 Mar 2008, Richard Shaw wrote:
>
> > On Tue, Mar 25, 2008 at 2:20 AM, John Summerfield
> > <debian@herakles.homelinux.org> wrote:
> > > Patrick O'Callaghan wrote:
> > > > On Mon, 2008-03-24 at 16:29 -0500, Richard Shaw wrote:
> > > >> Anyone know what this is? I couldn't find any relevant pages in Google.
> > > >>
> > > >> I have a file called "??" (no quotes) in the home directory of my
> > > >> mythtv user. When I try to do anything to the file it acts like it's
> > > >> not there. Is this something that fsck would fix? I don't know if it's
> > > >> related but I noticed it after using "switchdesk" a few times to try
> > > >> different desktop managers.
> > > >
> > > > Probably came from a a malformed Shell redirect or whatever. Anyway,
> > > > given that the Shell will interpret ?? to mean "any file with a
> > > > two-letter name", need to escape the ? characters in order to pass the
> > > > filename to the Shell, e.g.: rm ??
> > > >
> > >
> > > Id' say it's a dodgy name, might not br ?? at all.
> > >
> > > Try
> > > echo ?? | xxd
> > >
> > > eg
> > > 16:20 [summer@numbat ~]$ echo ?? | xxd
> > > 0000000: 3277 2061 7520 6b73 2073 7720 7433 2074 2w au ks sw t3 t
> > > 0000010: 6d20 7474 2076 6d0a m tt vm.
> > > 16:20 [summer@numbat ~]$ echo ??
> > > 2w au ks sw t3 tm tt vm
> > > 16:20 [summer@numbat ~]$
> >
>
> > Tried everything everyone suggested, no matter what I do it gives me
> > the standard "No file or directory" blah blah blah... Maybe I should
> > just fsck it and see if it goes away...
>
> try
>
> $ ls -l | cat -etv
>
> that might show you if there are special characters (like tabs)
> embedded in the filename.
>
> rday

That got me a little closer to an answer but I'm not sure how to
interpret the results.
ls -l gives me:
-rw-rw-r-- 1 mythuser root 44 2008-03-17 22:10 ??
ls -l | cat -etv gives me:
-rw-rw-r-- 1 mythuser root 44 2008-03-17 22:10 M-`M-sM-,$

But how do I interpret the non-printable characters in order to remove the file?

Thanks,
Richard

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 03-27-2008, 02:22 AM
"Richard Shaw"
 
Default "??" file in home dir.

On Wed, Mar 26, 2008 at 9:58 PM, Roger Heflin <rogerheflin@gmail.com> wrote:
>
> Richard Shaw wrote:
> > On Tue, Mar 25, 2008 at 2:20 AM, John Summerfield
> > <debian@herakles.homelinux.org> wrote:
> >> Patrick O'Callaghan wrote:
> >> > On Mon, 2008-03-24 at 16:29 -0500, Richard Shaw wrote:
> >> >> Anyone know what this is? I couldn't find any relevant pages in Google.
> >> >>
> >> >> I have a file called "??" (no quotes) in the home directory of my
> >> >> mythtv user. When I try to do anything to the file it acts like it's
> >> >> not there. Is this something that fsck would fix? I don't know if it's
> >> >> related but I noticed it after using "switchdesk" a few times to try
> >> >> different desktop managers.
> >> >
> >> > Probably came from a a malformed Shell redirect or whatever. Anyway,
> >> > given that the Shell will interpret ?? to mean "any file with a
> >> > two-letter name", need to escape the ? characters in order to pass the
> >> > filename to the Shell, e.g.: rm ??
> >> >
> >>
> >> Id' say it's a dodgy name, might not br ?? at all.
> >>
> >> Try
> >> echo ?? | xxd
> >>
> >> eg
> >> 16:20 [summer@numbat ~]$ echo ?? | xxd
> >> 0000000: 3277 2061 7520 6b73 2073 7720 7433 2074 2w au ks sw t3 t
> >> 0000010: 6d20 7474 2076 6d0a m tt vm.
> >> 16:20 [summer@numbat ~]$ echo ??
> >> 2w au ks sw t3 tm tt vm
> >> 16:20 [summer@numbat ~]$
> >>
> >>
> >> --
> >>
> >> Cheers
> >> John
> >>
> >> -- spambait
> >> 1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu
> >> -- Advice
> >> http://webfoot.com/advice/email.top.php
> >> http://www.catb.org/~esr/faqs/smart-questions.html
> >> http://support.microsoft.com/kb/555375
> >>
> >> You cannot reply off-list:-)
> >>
> >
> > Tried everything everyone suggested, no matter what I do it gives me
> > the standard "No file or directory" blah blah blah... Maybe I should
> > just fsck it and see if it goes away...
> >
> > Richard
> >
> cd to dir with the file
> find | more
>
> note the inode number of the problem file.
>
> find -inum number -ls
>
> Make sure the above returns the correct file.
>
> then run:
> find -inum number -exec rm -i {} ;
>
> Roger

Thanks! That worked. The only thing I did differntley was to use "ll
-i' instead of using find | more because I have a lot of files in my
home directory and it was painful trying to sort through them all.

I also found 'll -b' whch shows the escaped character which is
actually how rm found it:
-rw-rw-r-- 1 mythuser root 44 2008-03-17 22:10 340363254

Thanks,
Richard

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 03-27-2008, 02:57 AM
Todd Zullinger
 
Default "??" file in home dir.

Richard Shaw wrote:
> Thanks! That worked. The only thing I did differntley was to use "ll
> -i' instead of using find | more because I have a lot of files in my
> home directory and it was painful trying to sort through them all.
>
> I also found 'll -b' whch shows the escaped character which is
> actually how rm found it:
> -rw-rw-r-- 1 mythuser root 44 2008-03-17 22:10 340363254

Another method that should have worked nicely, using the output from
ls -b:

rm $'340363254'

--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~
Between two evils, I always pick the one I never tried before.
-- Mae West

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 04:15 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org