Linux Terminal Glossary
›
I/O Redirection & Pipes
command < file.txt
Category:
I/O Redirection & Pipes
command < file.txt
Copy command
Redirect stdin from a file
Feeds the contents of a file to a command as if you typed it. < is the redirect-from-file operator.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.