UNCLASSIFIED

Skip to content
Snippets Groups Projects
Commit d5bc6f63 authored by Anthony Collins's avatar Anthony Collins
Browse files

gensite

parent 8024dfb7
Branches
No related merge requests found
Pipeline #114488 passed with stages
in 31 seconds
......@@ -988,7 +988,7 @@ Other advanced usage....
== *7 - Processes and Proc Dir*
* The /proc/ directory — also called the proc file system — contains a hierarchy of special files which represent the current state of the kernel, allowing applications and users to peer into the kernel's view of the system.
* Every process access files in order to complete it's work. These processes keep track of open files using File Descriptors.
* Every process accesses files in order to complete its work. These processes keep track of open files using File Descriptors.
......@@ -998,9 +998,9 @@ Other advanced usage....
* In Unix and Unix-like computer operating systems, a file descriptor ("FD" or less frequently known as "fildes") is a unique identifier (aka handle) for a file or other input/output resource, such as a pipe or network socket.
* When you open a file, the operating system creates an entry to represent that file and store the information about that opened file.
** So if there are 100 files opened in your OS then there will be 100 entries in OS (somewhere in kernel).
** So if there are 100 files opened in your OS then there will be 100 entries in the OS (somewhere in kernel).
** These entries are represented by integers like `(...100, 101, 102....)`.
*** This entry number is the file descriptor. So it is just an integer number that uniquely represents an opened file in operating system. If your process opens 10 files then your Process table will have 10 entries for file descriptors.
*** This entry number is the file descriptor. So it is just an integer number that uniquely represents an opened file in the operating system. If your process opens 10 files then your Process table will have 10 entries for file descriptors.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment