in Technology by

What is the basic difference between BASH and DOS?

1 Answer

0 votes
by

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.

Related questions

0 votes
    What are the basic difference between variable and data type in the c? Select the correct answer from above options...
asked Dec 21, 2021 in Education by JackTerrance
0 votes
    The basic difference between JavaScript and Java is _________ (a) There is no difference (b) Functions are ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Differentiate between the basic and the advanced on -screen keyboard ? Any 5 points Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    What are the common forms of the DOS attack?...
asked Feb 20, 2021 in Technology by JackTerrance
0 votes
    Explain what is the DOS (Denial of service) attack?...
asked Feb 20, 2021 in Technology by JackTerrance
0 votes
0 votes
    Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 26, 2022 in Education by JackTerrance
0 votes
    Given a string file path such as /foo/fizzbuzz.bar, how would I use bash to extract just the ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 17, 2022 in Education by JackTerrance
0 votes
    MAHESH FOUND IT VERY DIFFICULT TO COPY FILES ON DOS AND REQUESTED HIS BOSS TO GET WINDOWS LOADED ON HIS SYSTEM. GIVE THE REASON WHY Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    Yesterday I installed bash on Windows 10 and also installed Git on it. It works perfectly fine. Following ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 20, 2022 in Education by JackTerrance
0 votes
    Hi I want to remove last comma from a line. For example: Input: This,is,a,test Desired Output: ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 3, 2022 in Education by JackTerrance
0 votes
    the directory /Library/Frameworks/Python.framework/ contains the following four elements: Headers Python Resources ... for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 18, 2022 in Education by JackTerrance
0 votes
    This question already has answers here: Quick-and-dirty way to ensure only one instance of a shell script ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 7, 2022 in Education by JackTerrance
0 votes
    !conda --version /bin/bash: conda: command not found I have installed miniconda and have chosen to ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 20, 2022 in Education by JackTerrance
0 votes
    I am learning bash scripting. While exploring the math functions i am came across a command which calculated ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 16, 2022 in Education by JackTerrance
...