1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 01:42:09 +02:00
tldr/pages/common/less-than.md
Managor ac3c978a0f
<, >, |, $: add page (#13846)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2024-10-01 19:20:05 +02:00

9 lines
248 B
Markdown

# Less than
> Redirect a file to `stdin`.
> Achieves the same effect as `cat file.txt |`.
> More information: <https://gnu.org/software/bash/manual/bash.html#Redirecting-Input>.
- Redirect a file to `stdin`:
`{{command}} < {{path/to/file.txt}}`