According to this Wikipedia article: List of command-line interpreters there is more than a dozen command-line interpreters.
Which one is most efficient in a term of performance. Why should I use something else then standard bash?
I am not asking about "fundamental difference" between *NIX shells as I cannot find nothing about performance there.
I am simply asking if you run same code (if it's compatible) with different Shell interpreter on the same hardware, would it be some difference in performance?
/bin/sh
on debian based system is dash. For more details, see for example Why this change was made? on ubuntu wiki. – sebasth Sep 20 '17 at 12:52ksh93
is alleged to be faster than Bash while providing a similar feature set, from a scripting standpoint, but I don't know of a well-regarded shell benchmarking suite. I'm with Kusalananda: if you need it to be fast, why are you using shell? – Warren Young Sep 20 '17 at 13:31bash
, but by using somebash
extensions you could get even faster. – Philippos Sep 20 '17 at 14:46