🔏
brainless
  • What is this?
  • Responsibility
  • Changelog
  • meta
    • Sharing
      • Inspirations
      • Workflows
      • Social Media
    • Geography
      • Life
      • Death
        • Family Death
    • Research
      • Project Index
      • 3D Printing
      • Photogrammetry
      • Drone Building
    • External Websites
    • [unreleased]
      • [Template]
      • [TEMP] CL V0.0.5 or whatever
      • Skincare
      • Travel
      • Working and Staying Busy
      • Stride
      • Funeral Playlist
      • Notes and Ideas
      • Boredom
      • Four Noble Truths of "Thermo"
      • Respect
      • Work
  • STE[A]M
    • [guide]
    • Science
      • Materials Modeling
        • Syllabus Description
        • Lecture Slides
        • Student Notes
        • Assignments
          • index
          • Carbon Nanotubes
    • Technology
      • Computer Science
        • Commands
      • Photogrammetry
      • Quantum Computing
      • Computers
      • Programs
        • Matlab and Octave
        • Audacity
        • Google Chrome
          • Websites
            • Google Suite Sites
            • Github
              • Version Control
            • Product Hunt
            • Twitter
            • Youtube
              • Channels
            • Vimeo
          • Extensions
            • Dark Reader
            • Vimium
        • [miscellaneous]
          • Octave
          • PureRef
          • git
          • gnu stow
          • mermaid.js
        • Excel
        • Blender
        • LaTeX
        • Sublime: Text Editor
        • Spotify
        • VLC Media Player
      • Android and iOS
      • Operating Systems
        • macOS
          • mackup
        • Unix
          • folder structure
        • Windows
          • App Installation
          • Meshroom
          • Corsair Utility Engine
      • 3D Printing
    • Engineering
      • Accreditation
        • Fundamentals of Engineering
        • Professional Engineering
      • Continuum Mechanics
        • Fluid Mechanics
          • Incompressible Flow
            • corona final
            • indexhw4
            • indexhw3
            • index
            • hw2
            • hw1
          • Syllabus Description
          • Lecture Slides
          • Student Notes
            • Dynamic or Kinematic Viscosity
          • Assignments
            • Homeworks
              • Homework 1
              • Homework 2
              • Homework 3
              • Homework 4
              • Homework 5
            • Vortex Project
        • Solid Mechanics
          • Syllabus Description
          • Lecture Slides
          • Student Notes
          • Assignments
        • Incompresible Flow
          • Syllabus Description
          • Lecture Slides
          • Student Notes
          • Assignments
      • Experimental Mechanics
        • Syllabus Description
        • Lecture Slides
        • Student Notes
        • Assignments
      • Finite Element Methods
        • Intro to Finite Elements
          • Syllabus Description
          • Lecture Slides
          • Student Notes
          • Assignments
        • Fundamentals of FEM
          • Syllabus Description
            • index
          • Lecture Slides
          • Student Notes
          • Assignments
            • Project
              • index
              • Untitled
            • Homework 1
            • Homework 4
            • index
      • Heat Transfer
        • Syllabus Description
        • Lecture Slides
        • Student Notes
        • Assignments
          • homework
            • hw10
            • q9
            • q8
            • q7
            • hw7
            • hw6
            • q5
            • q3
            • 1 ec
          • Discussions
            • d11
            • d10
            • d9
            • d8
            • d6
            • d4
            • d3
          • Project Notes
      • Machine Dynamics
        • Syllabus Description
        • Lecture Slides
        • Student Notes
        • Assignments
    • Art
      • Color Theory
      • Origami
        • FolderMath
          • Surveying Origami Math
          • Represent a Folded Object
          • Creating a Crease Pattern
          • Making the Folds
          • Simulating Folding Origami
          • List of Resources
            • Codes
            • Papers, Programs, and Inspirations
    • Mathematics
      • Complex Numbers
        • What is i^i?
      • Analytic Hierarchy Process
      • Probability
      • Conway's Game of Life
      • Metallic Numbers
      • Cauchy's Formula for Repeated Integration
      • Wavelet Transform
      • Laplace Tidal Equation
      • Alternating Summation of Ones
      • Constants
      • Bad Maths
      • Calculus
        • Syllabus Description
        • Miscellaneous
  • Thoughts
    • Marksmanship
      • Archery
    • Schooling
    • ...and Ideas?
      • Perceived Time and Learning
      • Content Comprehension
    • Comics and Games
      • Rubik's Cube
      • Dungeons and Dragons
      • Beyond-All-Reason
      • Sekiro: Shadows Die Twice
      • Super Smash Bros
        • Project M
        • Project +
      • League of Legends
      • Satisfactory
    • Literature and Art
      • Books
      • Reading is Hard
      • Various Words and Phrases
      • Poems
      • Interviews
      • Quotes
        • Phrases
      • Jokes
      • ASCII Art
    • Shows and Films
      • Cowboy Bebop
      • My Hero Academia
      • Sword of the Stranger
    • Working and Life Balance
  • Projects
Powered by GitBook
On this page
  1. STE[A]M
  2. Technology
  3. Operating Systems
  4. Unix

folder structure

PreviousUnixNextWindows

Last updated 4 years ago

for f in * ; do mv -- "$f" "[prefix_]$f" ; done

from overflow

I like to prefix symbols to folders and files when I'm working in a file tree. Those symbols are {_,-,!,`,+} . Apple's macOS Finder will sort a directories files by the File name, starting with the first character: these non-letter character allow sorting by a persistent file property rather than Finder's other, more malleable, options such as File Size or Date Modified, Additionally this doesnt modify the meaning of the name. Each of these prefixes are an operation on a name, each with different meanings:

  • _ a directory which holds fundamental files, README's Licenses, other crucial user files.

    • Dont use it too often, generally just when I'm sharing with other parties

  • - this is a development top level directory and holds a mixture of file types

  • ` reserved for a file that is currently being worked

  • ! for a file that I'm working on but have to leave

  • + directory with a single filetype but is still being used for references

linux follows unix tradition so backslashses are used and capitalization make filenames unique

FHS filesystem heirarchy standard

  • bin binaries needed for single user mode or booting as root

  • sbin system binaries mean for admin

  • boot all the things that are needed for bootloaders

  • dev where devices lives and all hardware

  • etc et cetera or if a menonic edit to configure

  • lib 32 and 64 where libaries live which are referned by biaries in bin and sbin

  • mntother mounted drivesmedia is an offshoot let linux worry about media

  • opt optional folder where manually installed can be put

  • proc or processes or pseudo files are shown by the kernel process named after pid

  • root root users home folder and need special permissions

  • run newer which are used to store ram processes

  • srv server folder which are mounted usually empty

  • sys is system

  • tmp temporary

  • var variable directory which are added such as logs and database kind of folder

  • home

stack
https://www.youtube.com/watch?v=HbgzrKJvDRw