Linux File System In Hindi

Blogs ❯❯ Linux

Image could not load

Image on pixabay

हर general-purpose computer को कई तरह के data को hard disk drive (HDD) या किसी और तरह के drive पर store करने की जरूरत होती है। इस topic में हम Linux file system के बारे में समझेंगे।

File System in Linux

Linux file system एक disk drive या partition पर files का structured collection है। Partition memory का एक segment है जो कुछ specific data को contain करता है। अलग - अलग machine पर memory के अलग - अलग partitions होते हैं। Generally, हर partition किसी न किसी file system को follow करता है।

Normally , Linux file system को कुछ इस तरह से arrange करता है।

/root
  |
  |---- /bin/
  |
  |---- /opt/
  |
  |---- /boot/
  |
  |---- /root/
  |
  |---- /dev/
  |
  |---- /bin/
  |
  |---- /sbin/
  |
  |---- /etc/
  |
  |---- /srv/
  |
  |---- /home/
  |
  |---- /tmp/
  |
  |---- /lib/
  |
  |---- /usr/
  |       |
  |       |---- /bin/
  |       |
  |       |---- /include/
  |       |
  |       |---- /lib/
  |       |
  |       |---- /sbin/
  |
  |---- /media/
  |
  |---- /var/
  |       |
  |       |---- /cache/
  |       |
  |       |---- /log/
  |       |
  |       |---- /spool/
  |       |
  |       |---- /tmp/
  |
  |---- /mnt/
  • / or /root : यह root user की home directory है जो बाकी users से separate होती है।

  • /home : home directory में सभी non-root users की directories होती है , by default username के name की ही directory create होती है , हालाँकि new user add करते समय आप username से अलग directory का नाम define कर सकते हैं।

  • /bin : bin की full form binaries होती है। इस directory में executable essential user commands होती हैं जिन्हे सभी files globally use करने के लिए होती है।

  • /sbin : इसका मतलब है system binaries . essential system binaries program होते हैं जिन्हे admin use कर सकता है , हालाँकि इन्हे use करने के लिए superuser privilege होनी चाहिए।

  • /lib, /lib32, /lib64, /libx32 : इसमें essential shared libraries होती हैं जो /bin या /sbin द्वारा executable होती हैं।

  • /usr : इसका मतलब है user . ये user home के लिए use होती है। इस directory के अंदर भी /bin, /sbin, /lib sub directories होती हैं। 

  • /usr/local : Third-party applications जैसे docker, minikube etc इसी directory के अंदर जाते हैं। इस directory के अंदर installed Programs सभी users के लिए available होंगे। हालाँकि अगर आप चाहते हैं कि आपके द्वारा install किये गए program को बाकी user access न करें तो उस program को आपकी /home के अंदर install करना होगा।

  • /boot : इस directory वो सभी files available होती है , जिनकी किसी system को booting के समय जरूरत पड़ती है।

  • /opt : opt का मतलब है optional , सभी third-party programs जो कि widely accessible होते हैं वो इसी directory में होते हैं।

  • /etc : etc का मतलब है etcetera , जिसमे system-wide applications की configurations store की जाती है।

  • /var : var का मतलब है variables , इसमें वो सभी files होती हैं जिन्हे system अपने operation के समय write करता है।

  • /var/log : इस directory में सभी log files होती हैं।

  • /var/cache : इस directory में सभी application programs का cached data store होता है।

  • /media : इस directory में वो सभी subdirectories होते हैं , जहाँ removable media devices को computer में insert करके mount किया जाता है। जैसे जब आप एक CD को insert करते हैं तो एक automatically एक directory create होती है और तब हम CD के अंदर का content access कर पाते हैं।

Recent Blogs

Loading ...

Rahul Kumar

Rahul Kumar

Hi ! My name is Rahul Kumar Rajput. I'm a back end web developer and founder of learnhindituts.com. I live in Uttar Pradesh (UP), India and I love to talk about programming as well as writing technical tutorials and tips that can help to others.

Get connected with me. :) LinkedIn Twitter Instagram Facebook