An exec <filename command redirects stdin to a file. ... #!/bin/bash # Redirecting stdin using 'exec'. exec 6<&0 # Link file descriptor #6 with stdin.
確定! 回上一頁