Find the answer to your Linux question:
Results 1 to 9 of 9
I have two files in my temp folder that I want to get rid of. These files blink and are locked; they combine and split at will. These files are: ...
  1. #1
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    575

    I want to eliminate two temp files

    I have two files in my temp folder that I want to get rid of. These files
    blink and are locked; they combine and split at will. These files are:

    atievntX.KElhim
    tmp.NjTZED5982

    Is there a terminal command that I can use to eliminate these files, please?
    Linux registered user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    http://www.paynal.com
    Everything Within The Universe Is Related; We Are All Cousins!!

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    If this files blink and are locked, they might be in use, cousinlucky.

    I'm not sure if root can delete them or not if they are in use.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  3. #3
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    575
    MikeTBob, I believe the files are blinking because I disconnected my computer from my phone line before they could finish installing themselves. I want to get rid of them. I can always reinstall Ubuntu 8.04 onto my computer if I mess it up.
    Linux registered user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    http://www.paynal.com
    Everything Within The Universe Is Related; We Are All Cousins!!

  4. #4
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    well in that case, you might need to use root or sudo, I'm guessing sudo will do it.
    cd /path/to/tmp/file/
    sudo rm filename
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  5. #5
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    575
    The files keep changing their titles and I can not get rid of them. Is there a way to open the tmp file as root?
    Linux registered user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    http://www.paynal.com
    Everything Within The Universe Is Related; We Are All Cousins!!

  6. #6
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Cousinlucky, there are probably a few good reasons why you can't delete these files and why they change names, I'm no expert on tmp files but I do know that the X windows system and the Desktop keep files there that are currently being used. I also know that there is an option somewhere (I'll find it) that lets you clear the /tmp after each reboot, so you won't have to worry about it.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  7. #7
    Linux Newbie
    Join Date
    Feb 2009
    Location
    Third ring of Pergatory
    Posts
    199
    Cuz-tmp should open like any other directory.
    Do this...
    ls -al /tmp > /$HOME/tmp.txt
    Wait a couple of minutes and then do it again
    ls -al /tmp >?$HOME/tmp2.txt.
    then
    Code:
     diff -ay tmp.txt tmp2.txt
    Should show you what files are changing and what they are changing into.
    The files shouldn't be getting renamed if they are from a hung or inactive process (at least I don't think that should be happening). It sounds like they are system "scratch pads" that are being written, deleted and then re-written in the course of you working on the machine.
    Again, take all advise with the understanding I know scheiss about your distro.
    Last edited by dijetlo; 03-15-2009 at 05:37 PM. Reason: mistake in coding

  8. #8
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    575
    I just get " no such file or directory ".
    Linux registered user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    http://www.paynal.com
    Everything Within The Universe Is Related; We Are All Cousins!!

  9. #9
    Linux Newbie
    Join Date
    Feb 2009
    Location
    Third ring of Pergatory
    Posts
    199
    Are you root (or a rootlike alter ego)?
    Can you touch a file in temp as the Kahuna?

Posting Permissions

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