A file descriptor is a small integer that a process uses to refer to an open file-like resource.

Common descriptors:

  • 0: standard input
  • 1: standard output
  • 2: standard error

This note is a placeholder for deeper Linux notes later.