Redirection
say it: “ree-dih-REK-shun” /ˌridɪˈrɛkʃən/
Sending output to a file (`>`, `>>`) or input from one (`<`).
What is Redirection?
Redirection sends output to a file instead of the screen: > replaces the file, >> adds to the end, < reads input from a file.
ls > files.txt
echo "eggs" >> shopping-list.txt
sort < names.txt
Level: Apprentice · More Unix terms at this level
Updated