📅  最后修改于: 2022-03-11 14:50:07.835000             🧑  作者: Mango
When bash starts it opens the three standard file descriptors:
- stdin (file descriptor 0)
- stdout (file descriptor 1)
- stderr (file descriptor 2)
Can use these sometimes explicityly
$ echo hello > file.txt
$ echo hello 2> file.txt
(file descriptor before >)