File descriptor

From wikieduonline
Revision as of 14:11, 10 July 2023 by Welcome (talk | contribs)
Jump to navigation Jump to search
This article is a Draft. Help us to complete it.

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

2>&1

See also

Advertising: