Command shell, Bash and DOS command prompt

Command shell, Bash and DOS command prompt, we have been using these, but yest you may don’t know what are the actual differences between them. So, this tutorial is all about exploring Command shell, Bash and DOS command prompt.

What is a command shell?

A simple program that interprets commands.
This command, Allows a user to execute commands by typing them manually at a terminal, or automatically in programs called shell scripts.
A command shell is not an operating system. It is actually a way to interface with the operating system and run commands, through it.

What is BASH?

BASH = Bourne Again SHell
Bash is a free replacement to the standard Bourne Shell (/bin/sh) originally written by Steve Bourne for UNIX systems. Bash is adopted to Linux, since it is open source.
Since it is Free Software, it has been adopted as the default shell on most Linux systems.

DOS command prompt

Command Prompt, also known as cmd.exe or cmd (after its executable file name), is the command-line interpreter on Windows NT, Windows CE, OS/2 and eComStation operating systems.

BASH vs DOS command prompt?

Feature
Comparison
Case Sensitivity:
In Linux/UNIX, commands and filenames are case sensitive, For example, meaning that typing “EXIT” instead of the proper “exit” is a mistake.
“” vs. “/”:
In DOS, the forward-slash or “/” is actually the command argument delimiter. In case of the backslash or “” is a directory separator. In Linux/UNIX operating system, the “/” or forward slash is the directory separator, and the “ ” or backward slash is an escape character.
Filenames: DOS world uses the “eight dot three” filename convention, For example: meaning that all files followed a format that allowed up to 8 characters in the filename, is followed by a period (“dot”), followed by an option extension, and up to 3 characters long (e.g. FILENAME.TXT ). In UNIX/Linux operating system, there is no such thing as a file extension. Which means you can give what ever filename or extension you want.

I hope you clearly understands this article, “Command shell, Bash and DOS command prompt”. If not, drop your comments below. And let’s start a discussion. Thanks for reading.