Find the answer to your Linux question:
Results 1 to 2 of 2
i want to clear the /tmp directoy when logout.how can it be set in bash_logout please help...
  1. #1
    Just Joined!
    Join Date
    Aug 2006
    Posts
    23

    bash_logout

    i want to clear the /tmp directoy when logout.how can it be set in bash_logout
    please help

  2. #2
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    rm -rf /tmp/*
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

Posting Permissions

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