query: How does (echo 'text' ; cat file.txt ) > new file.txt actually work?
positive_passages.docid: 832
positive_passages.text: What are the shell's control and redirection operators?
negative_passages.docid: 54528
negative_passages.text: After using `cat` on a binary file, why are letters and numbers left over?
negative_passages.docid: 29484
negative_passages.text: How does searching a file (locate) or autocompletion work?
negative_passages.docid: 76983
negative_passages.text: Force newlines with cat wildcard printing
negative_passages.docid: 25975
negative_passages.text: Using php, how to insert text without overwriting to the beginning of a text file
negative_passages.docid: 39392
negative_passages.text: Elegant solution to echo to either stdout or file in bash
negative_passages.docid: 47400
negative_passages.text: How are echo and print different in PHP?
negative_passages.docid: 129292
negative_passages.text: Why doesn't text piped into an echo get outputted?
negative_passages.docid: 104899
negative_passages.text: Why do newline characters get lost when using command substitution?
negative_passages.docid: 55542
negative_passages.text: How do I redirect command output to a file?
negative_passages.docid: 43994
negative_passages.text: How can I redirect matching lines to a file, and non-matching lines to a different file?
negative_passages.docid: 71844
negative_passages.text: \string command behavior - Plain TeX
negative_passages.docid: 136214
negative_passages.text: What does `cat passwd | awk -F':' '{printf $1}'` do?
negative_passages.docid: 111918
negative_passages.text: cat files with directory
negative_passages.docid: 120003
negative_passages.text: How does pipe work in bash commands?
negative_passages.docid: 72746
negative_passages.text: how to use \input{file.tex} correctly?
negative_passages.docid: 22976
negative_passages.text: What is the difference between sourcing ('.' or 'source') and executing a file in bash?