Learn › Bash Redirection and File Descriptors

Descriptor lifetime and shell scope

Control redirects across commands, groups, functions, subshells, and exec. Restore destinations and close descriptors you own.

Labs in this module