📚 dsaflash.cards
Problems
Log in
Sign up
Home
/
Linux
/
Shell, Pipes, and I/O Redirection
Shell, Pipes, and I/O Redirection
Question 1 of 6
What does `2>&1` do?
A
Closes file descriptor 2 and reassigns it to file descriptor 1
B
Redirects stderr (FD 2) to wherever stdout (FD 1) is currently pointing
C
Multiplies the output by sending it to two destinations simultaneously
D
Redirects stdout to stderr
← Back to categories