

{"id":260381,"date":"2022-11-24T11:29:33","date_gmt":"2022-11-24T05:59:33","guid":{"rendered":"https:\/\/www.jigsawacademy.com\/?p=260381"},"modified":"2022-11-25T00:30:53","modified_gmt":"2022-11-24T19:00:53","slug":"a-brief-overview-of-the-unix-file-system","status":"publish","type":"post","link":"https:\/\/www.jigsawacademy.com\/blogs\/a-brief-overview-of-the-unix-file-system\/","title":{"rendered":"A Brief Overview of the Unix File System"},"content":{"rendered":"<h2 aria-level=\"1\"><b><span data-contrast=\"auto\">Introduction<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:400,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"none\">The Unix File System is a framework for organizing and storing large amounts of data in a manageable manner. It includes components like files, a group of connected data that can be conceptualized as a stream of bytes (or characters). In the Unix File System, a file is also the smallest storage unit.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">In other words, the <\/span><b><span data-contrast=\"none\">Unix File System<\/span><\/b><span data-contrast=\"none\"> is a method for organizing and logically analyzing massive amounts of data so that it is simple to manage.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<h2 aria-level=\"2\"><b><span data-contrast=\"auto\">Unix File System: A Brief History<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:360,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"none\">The<\/span><b><span data-contrast=\"none\"> Unix File System<\/span><\/b><span data-contrast=\"none\"> is a framework that organizes and stores a large volume of data in a manageable manner. It includes components like a file, a group of connected data that, when viewed logically, appears as a stream of bytes and has attributes that provide details about the relevant file. The two main parts of the file system are files and directories. The entire system is organized in a hierarchy, with directories serving as special files that can hold multiple files. The root directory, which is symbolically represented by the letter &#8220;\/,&#8221; is the highest-level directory in the entire hierarchical structure. This directory may have a lot of subdirectories.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">A file system, on the other hand, consists of files, connections to other files, and the characteristics of each file. Data contained within a file is not included in file attributes; they include info about the file. A general operating system&#8217;s file attributes could, but need not, include the following:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<ul>\n<li><span data-contrast=\"none\">A file format (i.e., what kind of data is in the file)<\/span><span data-ccp-props=\"{&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:0,&quot;335559740&quot;:276,&quot;335559991&quot;:360}\">\u00a0<\/span><\/li>\n<li><span data-contrast=\"none\">The filename (which may or may not include an extension)<\/span><span data-ccp-props=\"{&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:0,&quot;335559740&quot;:276,&quot;335559991&quot;:360}\">\u00a0<\/span><\/li>\n<li><span data-contrast=\"none\">Size of a physical file<\/span><span data-ccp-props=\"{&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:0,&quot;335559740&quot;:276,&quot;335559991&quot;:360}\">\u00a0<\/span><\/li>\n<li><span data-contrast=\"none\">A file owner&#8217;s privacy\/protection feature<\/span><span data-ccp-props=\"{&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:0,&quot;335559740&quot;:276,&quot;335559991&quot;:360}\">\u00a0<\/span><\/li>\n<li><span data-contrast=\"none\">File time stamp (Time and date created\/modified)<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:240,&quot;335559740&quot;:276,&quot;335559991&quot;:360}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><span data-contrast=\"none\">Additionally, file systems offer services that map the logical organization of files to physical devices, tools that enable the manipulation of files, and logical organization.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<h2 aria-level=\"2\"><b><span data-contrast=\"auto\">Structure of Unix File System<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:360,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"none\">The <\/span><b><span data-contrast=\"none\">Unix File System<\/span><\/b><span data-contrast=\"none\"> is essentially made up of files and directories, at least from a beginner&#8217;s standpoint. Special files called directories may contain other files.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">The root directory (denoted by \/, pronounced slash) is the highest-level directory in the hierarchical (or tree-like)<\/span><b><span data-contrast=\"none\"> Unix File System<\/span><\/b><span data-contrast=\"none\">. There are several subdirectories immediately below the root level directory, most of which house system files. System files, application files, and\/or user data files may be found below this. All files on a Unix system have a parent-child relationship, which is similar to the idea of a process&#8217; parent and children. In other words, files can also have parents and children. As a result, all files\u2014except one\u2014share a common parental link, with the top-most file\u2014\/\u2014making an exception.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<h2 aria-level=\"2\"><b><span data-contrast=\"auto\">List of Unix Files and Their Full Description<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:360,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/h2>\n<p><b><span data-contrast=\"none\">\/:<\/span><\/b><span data-contrast=\"none\"> The filesystem tree&#8217;s root is indicated by the single slash (\/) character.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"none\">\/bin:<\/span><\/b><span data-contrast=\"none\"> Stands for &#8220;binaries&#8221; and contains some essential tools that are typically required by all users, like ls or cp.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"none\">\/boot: <\/span><\/b><span data-contrast=\"none\">This directory houses all the files necessary for a successful boot.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"none\">\/dev:<\/span><\/b><span data-contrast=\"none\"> The abbreviation for &#8220;devices&#8221; contains the file representations of auxiliary and fictitious devices.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"none\">\/etc: <\/span><\/b><span data-contrast=\"none\">This directory houses system-wise configuration files as well as system databases. It contained &#8220;dangerous maintenance utilities&#8221; like init at one time but now have been moved to other \/sbin or somewhere else.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"none\">\/home: <\/span><\/b><span data-contrast=\"none\">The user&#8217;s home directories are located here.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"none\">\/lib:<\/span><\/b><span data-contrast=\"none\"> Home to the system libraries as well as some vital documents like kernel modules.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"none\">\/media: <\/span><\/b><span data-contrast=\"none\">It is the standard mount location for removable storage devices like media players, USB sticks, etc.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"none\">\/mnt:<\/span><\/b><span data-contrast=\"none\"> Abbreviation for &#8220;mount&#8221; contains mount points for the filesystem. For instance, these are utilized if the system makes use of multiple hard drives or hard disk partitions. Additionally, CD-ROM, remote filesystems, and other devices frequently use it.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"none\">\/proc:<\/span><\/b><span data-contrast=\"none\"> proc is a\u00a0 virtual filesystem that displays process data as a file server.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"none\">\/root:<\/span><\/b><span data-contrast=\"none\"> The home directory of the system administrator, superuser &#8220;root.&#8221; If specific maintenance is required, during which other filesystems are unavailable, this account&#8217;s home directory is typically on the initial filesystem and not in \/home. For instance, such a situation might arise if a hard drive experiences failures and cannot be mounted properly.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"none\">\/tmp:<\/span><\/b><span data-contrast=\"none\"> A directory for its temporary files. Many systems delete this directory when they first boot up. It may have tmp mounted on top of it, in which its contents are lost upon reboot, or a startup script may specifically delete it.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"none\">\/usr: <\/span><\/b><span data-contrast=\"none\">It was formerly<\/span> <span data-contrast=\"none\">used to hold user home directories, and its purpose has changed now. It stores shared resources like the Window System, Perl, KDE, and other non-critical system executables, libraries, and resources. On some Unix systems, though, some user accounts might have a home directory that is a subdirectory of \/usr, like the standard directory in Minix.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"none\">\/var\/log:<\/span><\/b><span data-contrast=\"none\"> System log files are stored in it.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"none\">\/var\/mail:<\/span><\/b><span data-contrast=\"none\"> The location where all incoming mail is saved. Only users who are not root can access their own mail. This directory frequently serves as a symbolic link to \/var\/mail command.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"none\">\/var\/spool:<\/span><\/b><span data-contrast=\"none\"> The spool is a directory that contains queued tasks such as mail spools, print jobs, and others.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"none\">\/var\/tmp:<\/span><\/b><span data-contrast=\"none\"> A directory for all temporary files that should be kept between the system reboots.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<h2 aria-level=\"2\"><b><span data-contrast=\"auto\">Main Types of Files in Unix File System<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:360,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"none\">All data in the Unix operating system is organized into files. Each file is divided into directories, which are then arranged into a tree-like structure known as a file system.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">In Unix, the following file types are available:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<h3 aria-level=\"3\"><b><span data-contrast=\"auto\">Ordinary Files<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:320,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"none\">Ordinary files in Unix are those that contain text, data, and program instructions.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\u25cf\" data-font=\"Arial\" data-listid=\"5\" data-list-defn-props=\"{&quot;335551500&quot;:2172201,&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Arial&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\u25cf&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"none\">There are no other files in regular files.<\/span><span data-ccp-props=\"{&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:0,&quot;335559740&quot;:276,&quot;335559991&quot;:360}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\u25cf\" data-font=\"Arial\" data-listid=\"5\" data-list-defn-props=\"{&quot;335551500&quot;:2172201,&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Arial&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\u25cf&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"none\">The directory file is always put before the regular files.<\/span><span data-ccp-props=\"{&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:0,&quot;335559740&quot;:276,&quot;335559991&quot;:360}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\u25cf\" data-font=\"Arial\" data-listid=\"5\" data-list-defn-props=\"{&quot;335551500&quot;:2172201,&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Arial&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\u25cf&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"none\">Our information, such as the text we must write or the image we must draw, is stored in standard files. This is the type of file that we work with most frequently.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:240,&quot;335559740&quot;:276,&quot;335559991&quot;:360}\">\u00a0<\/span><\/li>\n<\/ul>\n<h3 aria-level=\"3\"><b><span data-contrast=\"auto\">Directory<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:320,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"none\">Both unique and common files are stored in directories. Users accustomed to the Mac or Windows operating systems will recognize folders as equivalent to Unix directories. Each file&#8217;s entry and the subdirectory it houses are included in a directory file. There will be 5 entries in a directory if there are 5 files in the directory. It means that each entry consists of two parts.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<ul>\n<li><span data-contrast=\"none\">The file&#8217;s title.<\/span><span data-ccp-props=\"{&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:0,&quot;335559740&quot;:276,&quot;335559991&quot;:360}\">\u00a0<\/span><\/li>\n<li><span data-contrast=\"none\">An inode number serves as the file or directory&#8217;s specific identification number.<\/span><span data-ccp-props=\"{&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:0,&quot;335559740&quot;:276,&quot;335559991&quot;:360}\">\u00a0<\/span><\/li>\n<li><span data-contrast=\"none\">It points where the hierarchical tree branches are available.<\/span><span data-ccp-props=\"{&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:0,&quot;335559740&quot;:276,&quot;335559991&quot;:360}\">\u00a0<\/span><\/li>\n<li><span data-contrast=\"none\">It helps us organize the file collection.<\/span><span data-ccp-props=\"{&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:0,&quot;335559740&quot;:276,&quot;335559991&quot;:360}\">\u00a0<\/span><\/li>\n<li><span data-contrast=\"none\">It includes additional directories, regular files, or special files.<\/span><span data-ccp-props=\"{&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:0,&quot;335559740&quot;:276,&quot;335559991&quot;:360}\">\u00a0<\/span><\/li>\n<li><span data-contrast=\"none\">It doesn&#8217;t have &#8220;real&#8221; data like text that we could use to do our work.<\/span><span data-ccp-props=\"{&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:0,&quot;335559740&quot;:276,&quot;335559991&quot;:360}\">\u00a0<\/span><\/li>\n<li><span data-contrast=\"none\">Mostly just required for file organization.<\/span><span data-ccp-props=\"{&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:0,&quot;335559740&quot;:276,&quot;335559991&quot;:360}\">\u00a0<\/span><\/li>\n<li><span data-contrast=\"none\">Each file is descended from the root directory (abbreviated \/), which is at the top of the tree.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:240,&quot;335559740&quot;:276,&quot;335559991&quot;:360}\">\u00a0<\/span><\/li>\n<\/ul>\n<h3 aria-level=\"3\"><b><span data-contrast=\"auto\">Special Files<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:320,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"none\">To represent actual physical devices like a terminal, tape drive, and printer, we use specialized files also employed for I\/O (Input\/Output) operations. I\/O or Input\/Output is performed on Linux and Unix systems using special files or devices. They look similar to a file system&#8217;s standard file or directory.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">For every device in the Unix system, there are primarily two types of special files: block special files and character special files.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\u25cf\" data-font=\"Arial\" data-listid=\"1\" data-list-defn-props=\"{&quot;335551500&quot;:2172201,&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Arial&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\u25cf&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"none\">The data is transferred to higher fixed-size blocks if the special block file is used for the device I\/O. Block device access is the name for this kind of access.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:240,&quot;335559740&quot;:276,&quot;335559991&quot;:360}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\u25cf\" data-font=\"Arial\" data-listid=\"1\" data-list-defn-props=\"{&quot;335551500&quot;:2172201,&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Arial&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\u25cf&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"none\">For the terminal devices, this is done one character at a time. On the other hand, raw access refers to reading or writing across a section of native disk data blocks for disk devices.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:240,&quot;335559740&quot;:276,&quot;335559991&quot;:360}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><span data-contrast=\"none\">Files are marked with the &#8220;c&#8221; symbol character.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<h3 aria-level=\"3\"><b><span data-contrast=\"auto\">Pipes<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:320,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"none\">In Unix, we can connect commands with the aid of pipes. Pipes function similarly to a temporary file, storing data from one of the commands until the next is ready. The Unix pipe offers a data flow that is only in one direction. The output sequence from the first command serves as an input for the following command sequence. The vertical bar (|) must be positioned between two commands on the command line in order to create a pipe. Such as who | wc -l.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<h3 aria-level=\"3\"><b><span data-contrast=\"auto\">Sockets<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:320,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"none\">A particular file type called a &#8220;Unix socket&#8221; allows for sophisticated internal-process communication. Internal-process communication socket will be another name for it. Unix Sockets are used for the client-server application&#8217;s framework. Similar to the network socket, it is essentially a data stream, but each transaction is local to the file system.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">Unix sockets are identified in the output -l using the &#8220;s&#8221; symbol.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<h3 aria-level=\"3\"><b><span data-contrast=\"auto\">Symbolic Link<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:320,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"none\">Another file in the file system is referred to using the symbolic link. We use a symbolic link to refer to another file system file. It contains the path to the file it refers to in text form. A symbolic link may appear to an end user to have its link name, but when we need to write or read data into this file, it will actually refer to the file it is focused on. The data file will still be present even if we delete the soft link itself. If the source file is deleted or moved to another location, the file will not work.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">The symbolic link is indicated in the output of ls -l using the &#8220;l&#8221; symbol.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<h2 aria-level=\"3\"><b><span data-contrast=\"auto\">Conclusion<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:320,&quot;335559739&quot;:240,&quot;335559740&quot;:276}\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"none\">Because of the incredible<\/span><b><span data-contrast=\"none\"> features of the Unix File System<\/span><\/b><span data-contrast=\"none\">, Unix OS is used for file management. Managing files is incredibly simple with the commands and functions available. Permissions also restrict the files&#8217; access. Authorized people can only access the files and various operations. Additionally, it is simpler to use because different file types are separated in it. Thus, the <\/span><b><span data-contrast=\"none\">Unix File System<\/span><\/b><span data-contrast=\"none\"> is regarded as one of the most user-friendly file systems. For more knowledge on hot tech topics and certification, do check out <\/span><a href=\"https:\/\/www.jigsawacademy.com\/\"><span data-contrast=\"none\">UNext Jigsaw<\/span><\/a><span data-contrast=\"none\">.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction\u00a0 The Unix File System is a framework for organizing and storing large amounts of data in a manageable manner. It includes components like files, a group of connected data that can be conceptualized as a stream of bytes (or characters). In the Unix File System, a file is also the smallest storage unit.\u00a0 In [&hellip;]<\/p>\n","protected":false},"author":2640,"featured_media":260385,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1496,10357],"tags":[],"form":[494],"acf":[],"_links":{"self":[{"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/posts\/260381"}],"collection":[{"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/users\/2640"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/comments?post=260381"}],"version-history":[{"count":1,"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/posts\/260381\/revisions"}],"predecessor-version":[{"id":260386,"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/posts\/260381\/revisions\/260386"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/media\/260385"}],"wp:attachment":[{"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/media?parent=260381"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/categories?post=260381"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/tags?post=260381"},{"taxonomy":"form","embeddable":true,"href":"https:\/\/www.jigsawacademy.com\/wp-json\/wp\/v2\/form?post=260381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}