Results 1 to 4 of 4

Thread: shutdown script

  1. #1
    Join Date
    Dec 2007
    Location
    howard, wi
    Beans
    2,460
    Distro
    Ubuntu 20.04 Focal Fossa

    Lightbulb shutdown script

    can this be done. note i watch a lot of movies on line and want to clear the temp file when i shutdown or restart. can the below be modified to due that and if so how

    sudo rm -rf /tmp/*

  2. #2
    Join Date
    Dec 2007
    Location
    *eating something*
    Beans
    702
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: shutdown script

    What program do you use to watch the movies?
    |>[HowTo] Bump The BUMP Thread<||>Stats<||>19k<||>23k<||>26k<||>34k<||>37k<||>38k<||>39k<||>40k<|

    Quote Originally Posted by lukjad007
    Backups are usually a good thing unless it's a sewer.

  3. #3
    Join Date
    Apr 2009
    Beans
    49

    Re: shutdown script

    Hi,

    In case you weren't aware, by default /tmp/ is cleaned very early in the boot process.

  4. #4
    Join Date
    Jun 2009
    Location
    /Home
    Beans
    Hidden!
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: shutdown script

    Quote Originally Posted by Rubicon_82 View Post
    Hi,

    In case you weren't aware, by default /tmp/ is cleaned very early in the boot process.
    could you imagine if /tmp/ never cleared? The HDD would be constantly expanding!
    AMD Phenom 9500 Quad 2.2 GHz Asus M3N78-VM 4GB DDR2 32" HDTV montior
    Multi-boot Win7, Ubuntu 9.10, Kubuntu 9.10

Tags for this Thread

Bookmarks

Posting Permissions

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