Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

1
  • 1
    Most (but not all) shells tend to open the script on file descriptor 10, not 11. They keep file descriptors 0–9 clear because those are for redirections inside the script, and 10 is the first candidate. If you're seeing fd 11, it's probably because there's already something else on fd 10. Commented Sep 29, 2020 at 15:39