File System is a methodology for logically organizing and storing large quantities of data such that the system is easy to manage. a file system consists of files, relationships to other files, as well as the attributes(file type, file name, file size, file owner, file timestamp) of each file.
Directories: for example, the Unix file system is essentially composed of files and directories. Directories are special files that may contain other files. the top-most directory is
/ (slash), with the directories directly beneath being system directories.
/ Root of Linux Filesystem
/bin Binary Executable files are kept here
/boot Booting related files are kept here
/dev Device files are kept here
/etc System-wide configuration files are kept here
/home Location for the home directories of regular users
/lib64 Libraries for binary executables are kept here
/mnt Temporary mount point for DVD-Rom, USB flash drive.
/opt Optional Programs are installed here like Program Files in windows
/proc Kernel pseudo filesystem
/root Home directory of super user root
/sbin System Binary Executable files are kept here
/tmp Temporary files are kept here
/usr User Filesystem
/var Variable files are kept here
/srv is a serve folder, contains site-specific data which is served by this system.
src and for more
The following two directories are user defined directories:
/home/abc/xyzdir1 --is a directory
/home/abc/xyzdir2 -- is a directory