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.
source share