{"id":310,"date":"2019-10-23T16:33:08","date_gmt":"2019-10-23T06:33:08","guid":{"rendered":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/?p=310"},"modified":"2023-08-22T15:34:25","modified_gmt":"2023-08-22T05:34:25","slug":"linux-file-system","status":"publish","type":"post","link":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/2019\/10\/23\/linux-file-system\/","title":{"rendered":"Linux File System"},"content":{"rendered":"<p>Here is a quick list of the linux file system (FS) directories and what they are for.\u00a0 This has helped me find my way around a fair bit.<\/p>\n<p><strong>\/bin<\/strong> &#8211; binaries, basic binary files\/programs &#8211; everyday commands, system wide etc<br \/>\n<strong>\/boot<\/strong> &#8211; boot files (boot loader and kernels &#8211; like the files you&#8217;d find in c:\\ ? )<br \/>\n<strong>\/cdrom<\/strong> &#8211; cdrom (legacy, not really used anymore, CD-ROMs used to be mounted here)<br \/>\n<strong>\/dev<\/strong> &#8211; devices, all hardware is represented by files<br \/>\n<strong>\/etc<\/strong> &#8211; et cetera, all config files (system wide &#8220;all users&#8221;) superuser directory use &#8220;sudo &#8230;&#8221;<br \/>\n<strong>\/home<\/strong> &#8211; home folder, like &#8220;c:\\users&#8221; on windows &#8211; user settings, configs etc<br \/>\n<strong>\/lib<\/strong><br \/>\n<strong>\/lib32<\/strong><br \/>\n<strong>\/lib64<\/strong> &#8211; libraries, used by \/bin and \/sbin, programs get library files from here similar to shared *.dll files in windows<br \/>\n<strong>\/lost+found<\/strong> &#8211; recycle bin (this is a hidden directory)<br \/>\n<strong>\/media<\/strong> &#8211; media mount, permanently mount secondary devices, devices mounted here (system mounted here)<br \/>\n<strong>\/mnt<\/strong> &#8211; mount, devices mounted here (manually mounted here)<br \/>\n<strong>\/opt<\/strong> &#8211; optional, manually installed files\/programs from vendors installed here<br \/>\n<strong>\/proc<\/strong> &#8211; processes, sudo files here, all process information running is stored here<br \/>\n<strong>\/root<\/strong> &#8211; root user&#8217;s home folder<br \/>\n<strong>\/run<\/strong> &#8211; run, temp file system &#8211; loaded in RAM, has run-time information<br \/>\n<strong>\/sbin<\/strong> &#8211; system binaries, system admin has access to<br \/>\n<strong>\/snap<\/strong> &#8211; snap packages, self contained programs<br \/>\n<strong>\/srv<\/strong> &#8211; service, directory where server programs store files for external users<br \/>\n<strong>\/sys<\/strong> &#8211; system, folder to interact with the kernel (every time system boots)<br \/>\n<strong>\/tmp<\/strong> &#8211; temporary, temp files used by apps etc,<br \/>\n<strong>\/usr<\/strong> &#8211; Unix System Resources (like \\windows\\system32 folder), user application space, where bin apps installed that are used<br \/>\nby the user, note: \/bin is used by system<br \/>\n<strong>\/var<\/strong> &#8211; variable, contains files that are expected to grow, crash info, logs, printer spools etc<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is a quick list of the linux file system (FS) directories and what they are for.\u00a0 This has helped me find my way around a fair bit. \/bin &#8211; binaries, basic binary files\/programs &#8211; everyday commands, system wide etc \/boot &#8211; boot files (boot loader and kernels &#8211; like the files you&#8217;d find in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":503,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[132,131,34,123],"class_list":["post-310","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer","tag-file-system","tag-filesystem","tag-linux","tag-linux-mint"],"_links":{"self":[{"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/posts\/310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/comments?post=310"}],"version-history":[{"count":2,"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/posts\/310\/revisions"}],"predecessor-version":[{"id":630,"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/posts\/310\/revisions\/630"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/media\/503"}],"wp:attachment":[{"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/media?parent=310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/categories?post=310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/tags?post=310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}