CL101:Directories

From NYC Resistor Wiki
Jump to navigation Jump to search
Command Line 101 Class Notes
Sections
  1. Home
  2. The Shell
  3. Directories
  4. File Management
  5. Viewing Files
  6. GREP
  7. The Pipe
  8. Chaining
  9. Cool Tricks
  10. Where do I go from here?

/[edit]

  • The root. Base of everything. Everything is ether in, or mounted in root.

/etc[edit]

  • Holds most configuration files

/usr[edit]

  • Holds most static data

/usr/bin[edit]

/bin[edit]

  • Story about bin vs /usr/bin

/var[edit]

  • Holds most variable data
    • Logs in /var/logs

/home (/User)[edit]

  • Holds User's home data
  • $HOME

/tmp[edit]

  • Holds temporary data
  • Cleared out on reboot
    • Sometimes there is a job to clean out older entires more regularly.

The story of /bin vs /usr/bin[edit]

Source