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 08-30-2003, 10:39 AM   #1
ryancw
LQ Newbie
 
Registered: Aug 2003
Distribution: Red Hat 9
Posts: 25

Rep: Reputation: 15
organizing my files and directories


Just this week changed my computer from Win98 to a dual-boot win98/RedHat 9 system. While learning Linux (which will probably take me a long time), I need to keep Win98 to get my work done.

In Win98, I had a very organized way of arranging my files and directories: downloaded applications (like zipped freeware) went here; the files I extracted out of them went there; when the program got set up it had its own directory under Program Files, of course; and all my data went in folders under a Data folder. No rocket science here.

How do you recommend I organize this under RH9? Where should I put downloaded RPMs? And where should I put downloaded tar.gz's? And after I unzip and untar them, where should I put the contained files? And then how about my data--letters I write, databases, other documents? I get confused with /etc, /tmp, /src, /bin, and so on. Does a good, organized files system put certain things in each of these directories? And am I even "allowed," or does everything I download have to go in my /home directory?

I just don't want to have things strewn all over my file system.

Thanks.
 
Old 08-30-2003, 10:50 AM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
I like to keep non-system stuff on a separate partition, so I have /home and another partition, /pub that I use. Personal stuff, I organize in /home/<user>.

I keep downloaded stuff in /pub/download with separate folders for tars, bins, rpms, etc.

I usually extract stuff to some temp folder as I toss it after compiling and installing it.

Of course, kernel-source or other source code that needs the tree, I extract to /usr/src or usr/local/src, depending upon what it is.

I recommend something like /home/<user>/documents for notes and umportant stuff you have written.

# Linux filesystem structure
Directory Navigation Help File
Filesystems, Directories, and Devices Help File
Proper Filesystem Layout

# Red Hat links
Red Hat Linux Manuals
Get your mp3 support here
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
Red Hat 8.0 Tips & Tricks

# Red Hat 7.3 down configuration commands
setup leads to several configuration tools

# Red Hat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network
Manage software:
redhat-config-packages

# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project
 
  


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
CHMOD directories.sub-directories.files zerojosh Linux - Software 2 11-19-2005 04:22 PM
files and directories thanhVic Linux - Newbie 1 02-27-2005 05:04 PM
organizing files endezeichen Linux - General 10 04-13-2004 04:21 PM
Organizing C code: .c files vs .h MadCactus Programming 11 01-14-2004 05:57 AM
Need help with directories & files GoboFraggle Programming 4 04-09-2003 07:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:11 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