📖
System Design
  • Home
  • Learn System Design Daily
  • System Design Steps
  • List of design questions:
  • My System Design Interview Checklist
  • CheatSheet
  • Programming Language Jargons
  • Scaleable Design
  • Agile Scrum
  • Uber
  • Gmail System Design
  • Distributed Rate Limiting
  • Audio Search Engine
  • Code Style and Review
  • Calling App Design
  • Low Level Design: Payment Tracking App
  • Machine Coding :Cache
  • Interview Advice
  • URL Shortner
  • Unique ID in Distributed Systems
  • Load Balancing Algorithm
  • API Architecture
  • Desgin Practise for Rest API
  • Performance Practise for API
  • API Gateway
  • API Security Hacks
  • Distributed Design Patterns
  • Fault Tolerance in Distributed Systems
  • Microservice Communication Design Patterns
  • Zipping /Compression
  • Database
  • Mongo DB
  • SQL
  • PostgreSQL
  • Database Designs
    • Designing a location based database
  • Building Database
  • Design Patterns
    • Microservice Architecture 10 Design Patterns
    • Interaction Patterns
  • Locale.ai
  • Version Control
  • Caches / Caching
  • High Level Design
  • Low Level Design
  • Containers, Docker
  • Docker
  • Linux Directories
  • Design Pattern for Software Architect
  • S.O.L.I.D Principles
  • Monitoring and Telemetry for Production System
  • C4 model
  • LRU Cache
  • VSCode
  • Chatbot Architecture
  • Streaming API Repsonse
  • Latency in System Design
  • Cloud
    • Azure
    • AWS
  • Builds
    • Jenkins
Powered by GitBook
On this page
  • Navigate
  • /Bin
  • /SBin
  • /Lib
  • /usr/bin
  • /usr/local/bin
  • $Path
  • which <binary_name>
  • /ETC
  • /Home/<user_data>
  • ~
  • /Boot
  • /Dev
  • /Opt
  • /var
  • /Tmp
  • /Proc

Was this helpful?

Linux Directories

PreviousDockerNextDesign Pattern for Software Architect

Last updated 4 years ago

Was this helpful?

Navigate

cd 
ls

/Bin

  • Binaries and Executables

/SBin

  • essential executables for super user (root)

/Lib

  • shared between binaries

  • shared between sbin and bin binaries

/usr/bin

  • non essential user installed libraries

/usr/local/bin

  • locally compiled binaries

  • safe place to install packages that wont conflict with the user installed location

$Path

  • tell linux where to find executables

which <binary_name>

  • eg which curl , which cd

  • tells its full path in the file system

/ETC

  • Editable text config

  • config files to modify settings for installed software's and preferences

/Home/<user_data>

  • Each user registered in the system will have folder in the home directory

~

  • File path to root

  • starting point

/Boot

  • Boot system

  • contains the linux kernel

/Dev

  • device files

  • Interface with hardware of drivers as if they were device files

  • Create Disk partition here

  • Interact with Floppy drive

/Opt

  • optional directory

  • for optional software (rare interaction)

/var

  • Variables files

  • changes as you use the OS

  • contains the logs and the cache file

/Tmp

  • temp files that wont be persisted between the reboots

  • non persistant storage

/Proc

  • Illusionary File System that doesnt exist on disk

  • created in memory by linux kernal to keep track of running process