O
O
Optimus2016-04-10 16:12:58
bash
Optimus, 2016-04-10 16:12:58

Difference between sh, dash, bash etc?

This is the choice VestaCP offers. Question: how do they differ?
eed888e56b6b42a4a251a99f41496cb3.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CityCat4, 2016-04-10
Pyan @marrk2

/bin/sh - This is Bourne Shell version 1.0
/bin/bash - This is Bourne Shell version 2.0
Accordingly, everything written for /bin/sh works in bash. They differ in that they read different files at startup. /bin/sh - reads .profile. /bin/bash - reads .bash_profile.
If the account is for yourself (or in general for the user) - put bash. If for the machine - / bin / sh, it's easier

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question