Cleaning /tmp? - Fedora Support Forums and Community
Results 1 to 6 of 6
  1. #1
    bub Guest

    Question Cleaning /tmp?

    I searched but couldn't find what I wanted so....
    I am more advanced with Windows than Linux, and I was wondering if I should clean the /tmp directory or if it cleans itself. I don't know why, but I looked at it today and started getting worried when I saw all of these weird name folders and files in there (names look like random numbers and letters)................

  2. #2
    Join Date
    Feb 2005
    ark n saw out in the sticks
    well--if it bothers you there is a way (and if weird stuff starts happening too and you need it to stop)--from the command line

    fixfiles relabel; reboot

    answer yes to deleteing tmp files and let it run and then it will reboot and the tmp directory is cleaned/deleted and restored by the new bootup.
    edit---misspelled relabel first time--sorry.

  3. #3
    bub Guest
    Hmmm.... well I typed in fixfiles relabel; reboot but there wan't any option to type in yes. And after it finished rebooting, they were still there. Thanks for trying but..................

  4. #4
    Join Date
    Feb 2005
    ark n saw out in the sticks
    And they will always be there--hopefully!!
    general place to keep temporary housekeeping stuff that changes from boot to boot.
    It isn't broken.
    Don't fix it.

  5. #5
    int80h Guest
    1. boot into runlevel 3 (aka non-graphical mode)
    2. type this command as root:
    rm -rf /tmp/*
    3. reboot

  6. #6
    Join Date
    Apr 2005
    The "tmpwatch" program will clean up your /tmp, you don't need to delete its contents manually.

Similar Threads

  1. Cleaning
    By eagle128 in forum Using Fedora
    Replies: 1
    Last Post: 24th February 2009, 02:03 PM
  2. Cleaning LCD
    By ivancat in forum Wibble
    Replies: 23
    Last Post: 17th May 2008, 10:38 PM
  3. Q: Cleaning up /var?
    By aero-z in forum Using Fedora
    Replies: 8
    Last Post: 15th July 2005, 05:23 AM
  4. Cleaning up your box
    By navilon in forum Using Fedora
    Replies: 2
    Last Post: 22nd November 2004, 11:43 PM
  5. cleaning up /var/tmp
    By Evert in forum Using Fedora
    Replies: 1
    Last Post: 11th August 2004, 09:42 PM

Tags for this Thread

Posting Permissions

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