3 ms·
Echo and printf are shell built-ins in bash[0]. Does it have to fork to execute them? You could probably answer this by replacing printf with /bin/echo and com
by mauvehaus 4y ago
Echo and printf are shell built-ins in bash[0]. Does it have to fork to execute them?
You could probably answer this by replacing printf with /bin/echo and comparing the results. I'm not in front of a Linux box, or I'd try.
[0] https://www.gnu.org/software/bash/manual/html_node/Bash-Builtins.html https://www.gnu.org/software/bash/manual/html_node/Bash-Buil...
- ur-whale 4y ago> Echo and printf are shell built-ins in bash Ah, yeah, good point, I am wrong.