File descriptor

From wikieduonline
Revision as of 15:23, 25 October 2024 by Welcome (talk | contribs) (→‎Related terms)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

wikipedia:File descriptor

echo "" > "/proc/$pid/fd/$fd"


0 stdin
1 stdout
2 stderr


Open YOUR_FILE_TO_READ as file descriptor 3 for reading:
exec 3< YOUR_FILE_TO_READ


file descriptor 2342543535 out of range

Related terms[edit]

See also[edit]

Advertising: