Difference Between Linux Text Mode and Windows Command Prompt

I do not know if this is a stupid question or not, but again, as my professor says, if you have doubts, then clear them. What is the difference between Linux text mode and the Windows command line (cmd). I know that both windows and Linux are different operating systems, but when you look at commands, some of the commands are common for the cd command example.

+4
source share
5 answers

Both are based on the same idea and are called command line interfaces (see wikipedia). They work with the same principles, simply using different keywords to execute similar commands. However, it should be noted that the teams, although named so, may not perform exactly the same function. This is just an abstraction of the functions of the lower level of the operating system. In the same way that people can explain such ideas using different words and phrases, the same applies to this situation. For reference, here is a list of Bash commands: http://ss64.com/bash/ , and there are Windows commands on the same website.

+1
source

Despite the superficial similarities in some respects, the two command line interfaces have different lines:

  • The Windows command line is largely based on the MS-DOS / PC-DOS command line, which in turn was based on the CP / M console command processor. The CCP CP / M interface was based on the earlier RSTS operating system.

  • Linux shells trace their roots in the original UNIX Thompson shell; Thompson shell, borrowed from the Multics shell (where the term "shell" came from).

Traces of this data are still obvious today - the DIR command on the Windows command line can be traced back to the DIR command on RSTS, and similarly, the ls on GNU coreutils can be traced back to the "List of segments" command in Multics.

+3
source

The difference is in the operating system. The command line (cmd) and the terminal emulator (linux bash shell or similar) are text interfaces to the operating system. They allow you to manipulate the file system and run programs without a graphical interface.

0
source

You should read about Linux shells. For example, the Bash shell is one of the most used Linux shells ... ever!

http://doc.dev.md/lsst/ch01sec07.html

http://www.tuxfiles.org/linuxhelp/shell.html

And if you are looking for a list of commands: http://www.physics.ubc.ca/mbelab/computer/linux-intro/html/

0
source

This is not that the commands are general (well, maybe some), it is that they have the same name and do almost the same as for cd , as you said.

Shells are an abstraction of the underlying operating system, Linux and Windows have a different kernel, hence the difference.

You may want to start here with your reading.

0
source

All Articles