I started using Linux Subsystem for Windows, and it is Rad! But, it is running in a terminal which behaves like cmd.exe (yuk!). This carries with it everything I hate aobut cmd. e.g., copy & paste, window sizing, etc.
I don't know how in 2018, Microsoft has allowed this to still exist.
Here are some alternatives:
Alternative Windows shells, besides CMD.EXE?
How do I run Ubuntu, Linux Subsystem for Windows in an alternative command prompt?
Windows cmd is really poor compared to the gnome-terminal or any other *nix-based terminals. Gets really messed up with Linux fonts. Try hyper terminal.
https://medium.com/#ssharizal/hyper-js-oh-my-zsh-as-ubuntu-on-windows-wsl-terminal-8bf577cdbd97
Related
In Windows, in both the Windows Terminal and cygwin's own terminal, sometimes with things like sftp and interactive php, some characters are 'disappearing' -- see the screenshot. This doesn't occur in a WSL2 session on the same machine, nor if I ssh to a Linux machine on my network, but does if I ssh to another Windows machine and invoke e.g. php -a inside a cygwin shell. So I'm guessing it's a cygwin problem, but what? (TERM is set to xterm-256color)
This is how it looks (correctly) within WSL:
I use Cmder which is a terminal based on ConEmu, and Bash (not Git Bash) as my shell.
I've recently run into a couple of interesting issues where Bash shows that I have a different version of npm installed than cmd.exe or PowerShell shows. I managed to kind of sort of (although not fully) understand why that was happening. More frustratingly though, I can't seem to use ipconfig with any of the standard switches like /all on Bash (regular old ipconfig works). I have to open a new console dialog in Cmder and run cmd as my shell or just open cmd directly. Does anyone with experience using Bash on Windows understand why this happens and also how to fix it? Thanks
I would like to know how to use Windows Terminal on PhpStorm?
I went to "Settings> Terminal", and tried to change the terminal path to :
C:\Users\user\AppData\Local\Microsoft\WindowsApps\Microsoft.WindowsTerminal_8wekyb3d8bbwe\wt.exe
But no effects
I don't think it's possible: Windows Terminal is not a shell, it's a terminal emulator that has its own window/UI. It is just another front end to the existing shells that runs a shell (powershell, cmd, wsl) under the hood. PhpStorm provides its own terminal emulator in Terminal tool window. It's impossible to integrate one terminal emulator inside another, because all integration is based on parsing ANSI/VT sequences from underlying shell.
I am running a cygwin shell under windows 10 in which I start a "screen" session and under that the cygwin version of emacs (24). If I do M-xshell, it starts a cygwin (bash) shell just fine. So for most of my programming I'm happy. However, if within the cygwin shell I run "cmd" to get a "DOS prompt". I get this weird error message from emacs, "Waiting for process to die" (and some more text about hitting ctrl-g). I also get the same message, if I set the shell to be cmd by setting "explicit-shell-file-name" when I run shell. (That's actually what I tried first.)
Now, if hit C-g (perhaps twice?), the shell appears and cmd appears to be running, but I'm not certain of the state of things.
Has anyone else seen this error message? Googling for it returned nothing useful. Is there some incompatibility between the cygwin build of emacs and running cmd? Any hints on how to get around this problem?
Alternately, is there any way to send "builtin?" "DOS" commands (like MKLINK) under bash to a DOS box? How about running .cmd files? I really hate running a separate DOS box (not under emacs) and sometimes I need to do "DOS" things (and usually want the output captured in an emacs buffer).
I'm sorry if this is a simple question:
I want to swap from ubuntu to windows for my web dev (personal preference). I'm used to using the terminal in ubuntu and the commands there and I was wondering whether the command prompt in windows is the same? Do the commands do the same?
If not, is there a way to get a terminal for windows the same as ubuntu?
No the Command prompt is not same as the Linux shell you may find some commands resembling to those of the shell in Linux (terminal) however to get a more Linux shell like environment you can install cygwin or GOW (Gnu on Windows). It will give you a bash.
You can find Cygwin here . and
You can find GOW here .
Its not the same, as others have answered, but since the latest version of windows 10 there is a way of running linux bash terminal in Windows.
Have a look in Bash on Windows.
It is actually running Ubuntu inside your Windows.
Windows is based on DOS but Ubuntu is based on Linux. Each of those has its own commands, with some similar commands. I personally prefer Linux commands as they are easier to understand and more simple than DOS commands. You can't use Linux commands in DOS nor the reverse.