Linux Terminal Glossary
›
I/O Redirection & Pipes
exec 3> file.txt
Category:
I/O Redirection & Pipes
exec 3> file.txt
Copy command
Open file descriptor 3 for writing
Opens a file for writing on file descriptor 3. File descriptors are numbered channels for input/output (0=stdin, 1=stdout, 2=stderr).
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.