View Single Post
dfinch's Avatar
Posts: 362 | Thanked: 82 times | Joined on Jan 2008
#13
Originally Posted by TA-t3 View Post
It's considered "best" to always use /bin/sh, as that will work with whatever sh-compatible shell that's native to the system. Unless you actually need bash-shell extensions (it can do a bit more than good old sh).

To find out if you have bash you can use several methods, e.g.
Code:
which bash
or, if you are already executing a bash-lookalike (e.g. ash) you can do
Code:
type bash
On my tablet there's no bash, so try 'ash' instead with the above commands. It should output /bin/ash.
Thanks, no bash found but 'which ash' found bin/ash

Most ppl seem to be saying use bin/sh so for what I'm doing this looks to be the best approach right now.

Again, thanks to all.
__________________
N810, OS 2008 5.2008.43-7 (Diablo)
Nobody can accuse me of not contradicting the invalid arguments of the opposition!
Derek