Results 1 to 7 of 7

Thread: Error While Deleting - File Doesn't Exist

  1. #1
    Join Date
    Mar 2015
    Location
    Viçosa, Brasil
    Posts
    263

    Default Error While Deleting - File Doesn't Exist

    Appeared in my home folder an file with the name "??=?%??!??h?^???h?}???m???S??H??O". I simply can't delete because "this file doesn't exist". I have tried different ways, including rm in terminal.

    How can I delete this file?

    Many thanks.

    --
    Biostatistics and Data Science
    https://bio-data.github.io/

  2. #2
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: Error While Deleting - File Doesn't Exist

    I'd say try using the terminal to delete said file or mc if you're not a text mode user
    https://software.opensuse.org/package/mc

  3. #3
    Join Date
    Mar 2015
    Location
    Viçosa, Brasil
    Posts
    263

    Default Re: Error While Deleting - File Doesn't Exist

    Quote Originally Posted by I_A View Post
    I'd say try using the terminal to delete said file or mc if you're not a text mode user
    https://software.opensuse.org/package/mc
    Wonderful, mc worked like a charm. Thanks.
    --
    Biostatistics and Data Science
    https://bio-data.github.io/

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,157

    Default Re: Error While Deleting - File Doesn't Exist

    And for some next problem next time, remind that we love to analyze problems were computer generated information is provided. Does please do not say (only)
    including rm in terminal.
    but copy past from your terminal, the line with the command (the complete line including the prompt), the output up to and including the next prompt. Then we will see exactly what you saw and not much explanation (let alone interpretation) from your side is required.
    Henk van Velden

  5. #5
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,296
    Blog Entries
    2

    Default Re: Error While Deleting - File Doesn't Exist

    Quote Originally Posted by hcvv View Post
    And for some next problem next time, remind that we love to analyze problems were computer generated information is provided. Does please do not say (only)

    but copy past from your terminal, the line with the command (the complete line including the prompt), the output up to and including the next prompt. Then we will see exactly what you saw and not much explanation (let alone interpretation) from your side is required.
    Agreed,
    In my experience, if you first elevate to root permissions, and then "rm" the file, it has always worked for me.
    If for some strange reason it still didn't work, then I might start looking at things like file system integrity.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,157

    Default Re: Error While Deleting - File Doesn't Exist

    Quote Originally Posted by tsu2 View Post
    Agreed,
    In my experience, if you first elevate to root permissions, and then "rm" the file, it has always worked for me.
    If for some strange reason it still didn't work, then I might start looking at things like file system integrity.

    TSU
    My remarks was NOT about how to analyze this already solved problem, but how to report "what you did and got back "in a post in the forums.

    This is bad:
    I tried to remove the file, but it did not work.
    This is much better:
    Code:
    henk@boven:~> rm aap
    rm: kan ‘aap’ niet verwijderen: Bestand of map bestaat niet
    henk@boven:~>
    And this is still better here on the English language part of the forums:
    Code:
    henk@boven:~> LANG=C rm aap
    rm: cannot remove 'aap': No such file or directory
    henk@boven:~>
    Henk van Velden

  7. #7
    Join Date
    Mar 2015
    Location
    Viçosa, Brasil
    Posts
    263

    Default Re: Error While Deleting - File Doesn't Exist

    Now I get it. Thanks everyone.
    --
    Biostatistics and Data Science
    https://bio-data.github.io/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •