CMD, PowerShell, Bash - What's the difference?

5

There are differences between them, which ones?

I speak Ubuntu Bash.

I'm curious because to me they seem to do the same thing!

    
asked by anonymous 07.08.2016 / 21:08

1 answer

11
Essentially, they are all system administration utilities for processing commands started from a text-based (console) user interface. It is used to call other utilities, start processes, and automate procedures through a script language. The approach and ability of each one differ.

Bash is the best-known utility of its kind used in POSIX systems (Linux, BSD, including MAcOS, etc. - is not specific to Ubuntu). It is optionally available on Windows 10 as of the 2016 upgrade. When you are using Linux you do not have the two options available below, so the comparison is not much needed. It would be more interesting a comparison with command processors available in Linux.

CMD , also known as command prompt , is the Windows utility. It's simple and it works, but it leaves something to be desired for more sophisticated tasks.

PowerShell is a new tool available in Windows and most recently in Linux and MacOS, which is extremely powerful, flexible and extensible ( cmdlet ). It uses a programming language and infrastructure based on. Net. It was developed based on the experiences of the various script processors for previously used operating systems, including the two above. It came to end with the idea that everything in Windows is better done by the GUI. It is fairly consistent and simpler to use, even though it is much more powerful. It's a little more targeted to administrators with good programming skills.

    
07.08.2016 / 21:25