LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-29-2008, 07:10 PM   #1
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,576

Rep: Reputation: 111Reputation: 111
Extraneous log files Windoze vs. Linux - am I being naive?


Whenever I defragment my OS partition in Windoze XP I seem to come across another .log or .dat file which is slowly (and fragmentedly) growing. Research shows these to be associated with Windoze or Internet Explorer (which I do not use) or Zone Alarm (firewall) or Nero (CD/DVD playing and burning) or some other program. The files are generally not in a directory associated with the program, rather they are hidden in some obscure directory. My research usually is not able to uncover what the function of these files might be. The vendors seem to be keeping this information secret.

I have not yet really burrowed through my Linux partitions - guess I need to start on that soon. My question is... should I expect to find a similar situation with Linux or are Linux and its programs better behaved?

Thanks,

Ken

Ubuntu 7.10 and 8.04
 
Old 07-29-2008, 07:24 PM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
Linux is a kernel and does not institute any file system hierarchy policy.

You are referring to the behavior of various programs that run on Linux. Each program is free to place its various files where it pleases, but in general, they are typically somewhere in your home directory. Some programs log to system-wide logs (eg. /var/log/*) while others store log data somewhere under a user's home directory.

On the whole, programs are well behaved. But there is a fair amount of consistency in Windows too; its just that the standards for location of various program-private data is more known to developers than to users. Much of this is enforced by hiding various directories, and the inheritance of All Users and Default User data stores to ones own user settings, making various data files, logs, and prefs files a nightmare to find and manage in Windows.

So, programs that have simple preferences are usually stored in a single dot file in your home directory. Programs that require more complex or multiple data files might store in a dot sub-directory of your home directory. But that's usually about as bad as it gets.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
getopts - displaying warnings/errors when extraneous arguments are provided retrovertigo Programming 5 07-18-2007 03:44 PM
Sharing files between linux and windoze. Re format NTFS partition to FAT32? baldox Linux - Newbie 6 12-21-2006 11:01 PM
LXer: Rotating Linux Log Files LXer Syndicated Linux News 0 06-07-2006 06:21 AM
petittion for naive linux half life. schatoor General 13 07-15-2003 04:45 PM
Can log files be time stamped? (such as FTP login and transfer log files) bripage Linux - Networking 6 08-08-2002 10:55 PM


All times are GMT -5. The time now is 12:57 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration