mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-08 02:45:53 +00:00
15 lines
341 B
Plaintext
15 lines
341 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|