Skip to content

Trouble grasping the distinctions: terminal, console, command prompt, command-line, shell #405

Closed

Description

I am having difficult with this sentence

Windows Terminal is a modern terminal application for users of command-line tools and shells like Command Prompt, PowerShell, and Windows Subsystem for Linux (WSL).

I don't understand how WSL is an example. I would have thought bash.

I would like to know a careful way to speak of cmd.exe. Is Command Prompt recommended?

Of the two linked presentations, I found Rich Turner's explanation most helpful. There are so many products and utilities mentioned by Hanselman that it all seems murky. I can't determine how to appraise and contrast conhost.exe and conPty, for example.

I would propose alternative statements. I don't feel qualified.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Activity

  1. orcmid commented on Sep 20, 2021

    @orcmid
    Author

    I ended up surrendering to the title of cmd.exe being Command Prompt since that is used almost everywhere, including its title bar when fired up. I have begun to speak of the command-line environment though. There are old documents that spoke of it as a shell, but that seems to have been deprecated.

    This is going to get weird in Windows 11 where the context-option to launch is with Terminal, and PS is the default except for those of us nerdy enough to change it. There are ways to demonstrate the layering. E.g., how does "more" determine where to pause (except when terminal does soft line breaks :). I am fumbling along here. I haven't used "shell", "terminal", or "console" yet.

    Thanks Mike, I will look over Rich's devblog series.

  2. orcmid commented on Sep 20, 2021

    @orcmid
    Author

    Mike Griese (@zadjii-msft) I just finished reading Steven Sinofsky's "Don't Ship the Org Chart" draft chapter for his book. It made me smile when I recalled how the teams are wrapped around for Terminal, etc.

    Rich Turner's 2018 blog explanations are terrific, as are all of the inside Baseball and technology snippets. Thanks for those. I will use them.

    I want something a little sharper for newbies that doesn't require them to understand too much that is invisible. I think the distinctions can be made well enough without contradicting the more-technical looks at architectural separations that come when a deep-dive is useful.

    An updated Miksa.md might be worthwhile in smoothing the on-ramp to the wonders of Terminal.

  3. mattwojo commented on Oct 15, 2021

    @mattwojo
    Contributor

    Mike Griese (@zadjii-msft) / Michael Niksa (@miniksa) -- Should this "Shell vs terminal" section of the Niksa.md doc be added to the public Terminal docs somewhere?
    https://github.com/microsoft/terminal/blob/354e896500819937152c2dc4caca3639de903004/doc/Niksa.md#shell-vs-terminal

  4. mattwojo commented on Oct 15, 2021

    @mattwojo
    Contributor

    Maybe on the Troubleshooting page as a topic to point to for anyone else struggling with differentiation of these terms?

  5. DHowett commented on Oct 15, 2021

    @DHowett
    Contributor

    I think that's a great idea!

  6. miniksa commented on Oct 22, 2021

    @miniksa

    Yeah that sounds awesome. I'll try to get there at some point.

  7. orcmid commented on Oct 22, 2021

    @orcmid
    Author

    I have started documenting around "Command Prompt" and the VS Developer Command Prompts. I then speak of the command-line ENVIRONMENT and specifically the need to run Code from inside a Developer Command Prompt for exactly that result, having the environment established and having the Code provision of C/C++ Intellisense to work.

    I am also documenting how to find the shortcut that establishes a Developer Command prompt, put it on the desktop and customize it and copies of it for opening in different more-useful locations. And also start VS Code inside that setup.

    I worry that even this is too much for novices. I need to work very hard at progressive disclosure so beginners start getting results quickly. I am determined not to surrender to the MingW and g++ approach that Udemy instructors emphasize. Or the LaTeX and emacs that academics subject CS101-ers to.

    PS: I do not mention console and terminal at all at the introductory level (except Windows 11 where Terminal is the thing).

  8. mattwojo commented on Sep 1, 2022

    @mattwojo
    Contributor

    Added an FAQ to the Terminal docs about this. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions