04-13-2014, 10:28 PM
How anal is your directory structure?
Find out now! Here's a text to compare yours to:
Find out now! Here's a text to compare yours to:
Quote:Welcome to Mike's home directory!
Here is a quick guide on finding yourself around:
~/: Temporary files and enforced configuration files. (Usually prefixed with '.'.)
~/bin/: Binary files. "Machine data". Contains executables, among other things.
~/bin/lib/: Modules with working code.
~/bin/iso/: Disk images.
~/bin/share/: Resources for programs. Fonts, gettext, images, media.
~/doc/: User resources. Content, mutable or otherwise. Not in ~/src.
~/doc/afx/: Audio content.
~/doc/doc/: Documents.
~/doc/gfx/: Graphical content. Podcasts, movies, infographics.
~/doc/lit/: Literature. Organized by subject (cs, ece, ma, bio, etc.)
~/doc/static/: Link to static partition, if one is available.
~/etc/: Configuration files. Soft linked to ones in ~/ when necessary.
~/src/: Work / project related files. Contains subdirectories based on subject.
~/src/build/: Build directory. Used as a prefix for local installation of programs.
~/src/edu/: Education files.
~/src/inc/: Installed include files.
~/src/var/: Variable data for the build system, and user daemons.
~/tmp/: Subdirectory for unsorted files. Also contains the same structure as ~/,
Note: This structure is shared between all of Mike's systems. You may find scripts
that rely on this script (default values.)
Build directory notes:
When configuring many packages, you're able to add a prefix and / or choose the destination directories.
Rather than specifying each directory throughout the home folder, this folder contains symlinks to
the following folders for easy package installation:
bin -> ~/bin
etc -> ~/etc
games -> ~/bin
include -> ~/src/inc
lib -> ~/bin/lib
libexec -> ~/bin/lib/exec
sbin -> ~/bin
share -> ~/bin/share
src -> ~/src
var -> ~/src/var