What is the difference between bash and dos?



What is the difference between bash and dos?..

Answer / Franklin Eric Kujur

Bash (Bourne-Again SHell) is a Unix/Linux shell, while DOS (Disk Operating System) refers to the command-line interface of early IBM personal computers that used MS-DOS or PC DOS. The primary differences between them include: 1. Syntax: Bash uses different syntax compared to DOS commands. For example, in Bash, a semicolon is used to separate multiple commands on a single line, while in DOS it's a command terminator. 2. Case Sensitivity: Bash is case-sensitive for filenames and keywords, whereas DOS is typically not. 3. File Path Structure: In DOS, the path structure uses backslashes (), whereas in Bash, forward slashes (/) are used.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux General Interview Questions

how does dns resolution work in linux?

1 Answers  


How documentation of an application is stored?

1 Answers  


How do I stop a linux script from command line?

1 Answers  


What is the command for displaying, in which shell we are working.

3 Answers  


Why is semaphore used?

1 Answers  


How do you list all files in a directory, including the hidden files?

1 Answers  


Can I put linux on my laptop?

1 Answers  


Can you replace windows with linux?

1 Answers  


Differentiate between cron and anacron.

1 Answers  


How to give permission to full permission in linux?

1 Answers  


Is binary semaphore same as mutex?

1 Answers  


Which linux os is best?

1 Answers  


Categories