Match the following file redirection operators with their functions:
1) < a) redirects STDOUT to a file (overwrite)
2) > b) redirects STDIN from a file
3) c) redirects both STDOUT and STDERR
4) 2> d) redirects STDOUT to a file (append)
5) 2 e) redirects STDERR to a file (overwrite)
6) &> f) redirects STDERR to a file (append)
7) 2>&1 g) redirects both STDOUT and STDERR
A.
1-b, 2-a, 3-d, 4-e, 5-f, 6-c, 7-g
B.
1-b, 2-e, 3-f, 4-a, 5-d, 6-g, 7-c
C.
1-c, 2-e, 3-f, 4-a, 5-d, 6-b, 7-g
D.
1-c, 2-a, 3-d, 4-f, 5-e, 6-g, 7-b
E.
1-b, 2-a, 3-d, 4-f, 5-e, 6-c, 7-g
F.
1-b, 2-e, 3-d, 4-a, 5-f, 6-c, 7-g