LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 08-05-2006, 08:09 PM   #1
agentchange
Member
 
Registered: May 2006
Distribution: Ubuntu 8.04
Posts: 132

Rep: Reputation: 15
Temporary internet files in Linux?


My free space is gradually eroding away and I am not sure why because I thought there was no such thing as temporary internet files in Linux. What are the likely things that gradually eat up disk space as time goes by?
 
Old 08-05-2006, 08:34 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The browsers themselves will do caching to speed things up if you return to a page. You can clear it out from the browser. There are also temporary files in /tmp that could be cleared out. It might be best to do it before shutting down. For example, log out of KDE or Gnome and log into a terminal. Then su to root and enter run level 1:
init 1. Now it should be safe to remove all files from the /tmp directory: rm -r /tmp/*
before shutting down: shutdown -h now

You could also add it to a shutdown script. The best place may be in /etc/init.d/halt.local.
Code:
#! /bin/sh
#
# Copyright (c) 2002 SuSE Linux AG Nuernberg, Germany.  All rights reserved.
#
# Author: Werner Fink <werner@suse.de>, 1998
#         Burchard Steinbild, 1998
#
# /etc/init.d/halt.local
#
# script with local commands to be executed from init on system shutdown
#
# Here you should add things, that should happen directly before shuting
# down.
#
rm -r /tmp/*
 
Old 08-05-2006, 09:52 PM   #3
agentchange
Member
 
Registered: May 2006
Distribution: Ubuntu 8.04
Posts: 132

Original Poster
Rep: Reputation: 15
There are some subdirectories in /tmp/ related to Yast and KDE that are also locked. Is it critical to preserve these?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Temporary Internet Files?????????? RobTek Linux - Newbie 12 10-25-2004 07:20 PM
temporary internet files in linux gsr_kashyap Linux - Networking 1 08-04-2004 07:36 AM
crontab & quota files are temporary files? hamish Linux - Software 0 07-10-2004 02:09 PM
Clearing Temporary Files jjorloff1 Red Hat 1 01-25-2004 07:32 PM
Internet Temporary Files jnutty3 Linux - General 4 10-27-2001 11:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration