Bash is a powerful command shell and scripting language developed from the Bourne shell. However, Bash implementations can be found on other operating systems now. Bash supports array variables, shell functions, and very flexible substitution. It is actively developed and new features are added regularly.
BASH and DOS are used to interpret the commands that a user enters. Below we have mentioned some differences between dos and bash.
BASH |
DOS |
Commands written in BASH are case sensitive |
DOS commands are not case sensitive. |
In BASH ‘/’ character is a directory separator and ‘\’ is an escape character. |
In DOS, ‘/’ is a command argument delimiter and ‘\’ is a directory separator. |
BASH follows no convention in naming files. |
DOS follows a convention while naming files. It is 8 characters file name followed by a dot and 3 characters for the extension. |