Files
developer-roadmap/roadmaps/shell-bash/content/here-strings@D0VV5UpW2X4mMghpp2fdo.md
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

8 lines
677 B
Markdown

# Here Strings
Here strings provide a way to pass strings to commands as standard input. They are a simplified form of here documents, designed for single-line input. Instead of redirecting a file or typing input directly, you can embed the string directly within the command using the `<<<` operator. This is particularly useful for commands that expect input from stdin but you want to provide it inline within your script.
Visit the following resources to learn more:
- [@article@Here Strings](https://tldp.org/LDP/abs/html/x17837.html)
- [@video@Here Strings in Bash! Redirecting a string into stdin. You Suck at Programming](https://www.youtube.com/watch?v=0cWuZvw8lXc)