File Descriptors Flashcards
1
Q
What is the standard input file descriptor?
A
0
2
Q
What is the standard output file descriptor?
A
1
3
Q
What is the standard error file descriptor?
A
2
4
Q
What is a bit bucket?
A
/dev/null
5
Q
How do you send command output to a file descriptor?
A
command >&n where n is file descriptor 0,1, or 2.