Answers for "file descriptor bash"

1

file descriptor bash

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 >)
Posted by: Guest on October-03-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language