- UNIX directory or the UNIX filesystem is a one rooted tree of
directories that holds data into them in the form of files and
folders. On the top of all the directories, we have the root
directory that is identified with "/" and "usr","home","bin" etc
are the subdirectories of the root directory.
- The main thing to note is that it follows the tree structure
where if you have the permission of root then you have the entire
root permission and can do anything to your file system in terms of
modifying it's data and changing it's directories structure but not
the reserved ones.
- While on the other hand, we have Windows directory that too
follows the hierarchical or tree structure in managing their files
or information. It has the similar functionality of storing data
but few changes in terms of lack of security as compared to
Windows.
a) Directories that have similar functionality in UNIX
and Windows:
- home:
- In Linux or UNIX, the home directory is the place where all the
personal information such as Documents, Media etc are stored and
it's a part of the root directory.
- In the Windows, the home directory is known as user directory
and does the same thing for storing personal information.
- Desktop:
- In Linux or UNIX, the Desktop directory is a part of your home
directory that comes after it, all the data placed on the screen
when you login into your computer is stored in this directory.
- Same as Linux, the information that you when you boot into
WIndows is stored in the Desktop directory.
- bin:
- In Linux or UNIX, the bin directory is a part of your main root
directory that contains all the executable apps that are ready to
run.
- In Windows, the bin is known as \Windows\System32 that holds
the same information but in a different directory.
b) In UNIX, we have /proc directory that is missing in
the Windows File System.
- It deals with the processes and showing them as files.
c) In Windows, we have /WinSxS as
directory that is missing in the UNIX
- Copy of all Windows components, as well as all Windows updates
and service packs is stored in this folder.