37 points · by PainfullyNormal · 4y ago · 20 comments
I have no comment on Windows, but anyone on MacOS who would find this guide to be useful would have absolutely no need to use anything other than the built-in Terminal. The guide does not say why the Terminal is underwhelming. What features does it lack, and more specifically, what features does it lack that a reader of this guide would actually need, when the reader of this guide doesn’t even know what a prompt is?
A GUI terminal doesn't need to run a shell, even if often it does.
e.g. "xterm -e emacs", now the GUI terminal is running emacs, not any shell.
(Of course arguably emacs is a shell and a universe onto itself but different topic.)
And a shell is called a "shell", not a "shell language". Yes a shell can be used as a scripting language, but when used interactively it is called a shell.
In the absence of any configuration, the default prompt for most shells is (or was) simply $. When you su to root, it becomes #
Also recommended https://explainshell.com/ to find out whats actually going on.
For Windows users, it's probably worthwhile installing the Windows's Terminal app (from Microsoft) vs using cmd.exe or powershell.exe.
cmd.exe's age shows - it's well and good for short things and short scripts, but not anything bigger imho.
powershell.exe takes up to minutes to start on some machines (I timed it while working at a repair shop).
Windows Terminal I've not used personally, but have heard a lot of good about. Another good option is using PuTTY if you're sshing into another box.
While the windows terminal is pretty useful, it is not a command shell; you still have to use a shell with it (like Cmd, PowerShell, or one of the many Linux shell ports or WSL)
cmd.exe isn’t a terminal, it is a program that talks to the terminal. People who talk about it as if it is one probably actually mean the classic Windows console system (conhost.exe/etc)