Bash: echo, exec, cat: File Descriptor for Reading File
#!/bin/bash echo 'this is a test line' > input.txt exec 3<input.txt cat <&3 # this is a test line