Linux ls command and it's options
Linux traceroute Command : traceroute Command In Linux
Linux Commands For Begginers | Linux Commands In Hindi - Part 2
Linux cat command Example | Linux print file content on terminal
Web Page Kya Hai, Elements of web page in Hindi
Laravel Generate PDF Example | Download And Generate PDF In Laravel In Hindi
Stored Procedures In Snwflake In Hindi | Snwflake Stored Procedures Example
Nullish Coalescing Operator In JavaScript In Hindi
What is IP Address In Hindi | What is Internet Protocol , Types and It's Classes
If tutorials available on this website are helpful for you, please whitelist this website in your ad blocker😭 or Donate to help us ❤️ pay for the web hosting to keep the website running.
हर general-purpose computer को कई तरह के data को hard disk drive (HDD) या किसी और तरह के drive पर store करने की जरूरत होती है। इस topic में हम Linux file system के बारे में समझेंगे।
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 करता है।
./ | |---- /bin/ | |---- /opt/ | |---- /boot/ | |---- /root/ | |---- /dev/ | |---- /bin/ | |---- /sbin/ | |---- /etc/ | |---- /srv/ | |---- /home/ | |---- /tmp/ | |---- /lib/ | |---- /usr/ | | | |---- /bin/ | | | |---- /include/ | | | |---- /lib/ | | | |---- /sbin/ | |---- /media/ | |---- /var/ | | | |---- /cache/ | | | |---- /log/ | | | |---- /spool/ | | | |---- /tmp/ | |---- /mnt/
/
: ये directory file system का root है , यही से file system की hierarchy शुरू होती है। इसमें सभी files और directories है जिससे हमारा Operating System work करता है। साथ ही साथ different - different users और file manage होती है।
/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 होती है। Basic system binaries (executable files) इस directory में होती है , यहां पर essential commands जैसे कि ls, cp, mv etc.. होती है , जिन्हे सभी files globally use करने के लिए होती है।
/sbin
: इसका मतलब है system binaries . System administration की binaries यहां पर होती हैं , Normal users usually इस directory के commands को use नहीं कर सकते हैं सिर्फ superuser (root) ही इनको access कर सकते हैं।
/lib, /lib32, /lib64, /libx32 : इसमें essential shared libraries होती हैं जो /bin या /sbin द्वारा executable होती हैं।
/tmp
: Temporary files इस directory में store होती हैं जो system reboot hone के बाद delete हो जाती हैं।
/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 में होते हैं।
/dev(Device)
: System की devices के लिए special files यहां पर होती हैं , हर device को एक file representation दी जाती है।
/etc
: System configuration files यहां पर store होती हैं। इस directory में system-wide configuration files, startup scripts, और other system-related information होती है।
/var (Variable)
: var का मतलब है variables , इसमें वो सभी files होती हैं जिन्हे system अपने operation के समय write करता है। इस directory में variable data होता है , जैसे कि logs, mail, temporary files, और अन्य dynamically changing data
/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 कर पाते हैं।
Loading ...
Hi ! I'm Rahul Kumar Rajput founder of learnhindituts.com. I'm a software developer having more than 4 years of experience. I love to talk about programming as well as writing technical tutorials and blogs that can help to others. I'm here to help you navigate the coding cosmos and turn your ideas into reality, keep coding, keep learning :)
Get connected with me. :) LinkedIn Twitter Instagram Facebook