Comment by kccqzy
5 hours ago
And just like dup2 allows you to duplicate into a brand new file descriptor, shells also allow you to specify bigger numbers so you aren’t restricted to 1 and 2. This can be useful for things like communication between different parts of the same shell script.
No comments yet
Contribute on Hacker News ↗