Re: "??" file in home dir.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 26, 2008 at 9:58 PM, Roger Heflin <rogerheflin@xxxxxxxxx> wrote:
>
> Richard Shaw wrote:
>  > On Tue, Mar 25, 2008 at 2:20 AM, John Summerfield
>  > <debian@xxxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx
>  >>  -- 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 \340\363\254

Thanks,
Richard

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux