55

When you use linux for nearly a decade and try to use cmd on windows for the first time since then.

Comments
  • 4
    PowerShell is now the default shell on Windows. If you're using the command prompt, you're doing it wrong.

    There are plenty of Unix aliases in PowerShell to get you started, plus all of the old commands you do remember from the command prompt will still work because just like Unix aliases, PowerShell aliases them too.

    For example 'dir' or 'ls' are aliases of PowerShell's 'Get-ChildItem' function. Open it up and give it a try.

    Don't forget you can 'Get-Help' or 'man' to find out what a cmdlet does.

    And of course PowerShell is available for Linux and macOS now too, albeit in alpha, currently. https://github.com/PowerShell/...
  • 1
    On a side note, this lady died recently

    https://reddit.com/r/MemeEconomy/...
  • 2
    Still trying to find a Windows terminal emulator that rivals the power and friendliness of Terminix. Closest one I've found is cmder, which is sad.

    Any recommendations?
  • 0
    @drRoss thank you for that detailed answer! But remember there are plenty computers out there still running windows 7 for example. But overall you're right, just was my first thought when trying to handle that beast for the first time in a long time :3
    Cheers!
  • 0
    I have been using Linux for most of my life.

    At college, (Bachelor's degree in CS no less) se use freaking notepad with cmd on either a XP machine or a win7 machine that has never been updated.
  • 0
    @baryonicbeing Windows 7 has already lost mainstream support, and the extended support will end at January 14, 2020.
  • 1
    @baryonicbeing Aha, the latest version of PowerShell is available for Windows 7! You don't get all of the cmdlets you do in Windows 8.1/10, but the functionality is there.
  • 1
    @Tribex What is it specifically that you're looking for?
  • 0
    Yo, i didnt see this mentioned, but win10 has bash now which is super convenient if you're coming from a UNIX system. Would recommend.
  • 0
    @pxgamer No, use PowerShell. ☺

    There's a reason Windows has its own Shell in that it's better than the bourne again shell.

    Yeah I said it.
  • 0
  • 0
    @drRoss Split Windows, decent auto insert support.
  • 1
    @Tribex Use cmder if you need those fancy features: you can use standard cmd, powershell and bash in it, while it looks sexy, which most users want (for some reason)
  • 0
    I suggest cygwin, can sometimes be a bit of a bitch to be setup, but can be integrated nicely with the normal cmd, so you dont need to open another program to make use of all its functionality.@Tribex
  • 1
    @devilirium Yeah, that's what I'm currently using, but it's clunky and somewhat unreliable.
  • 0
    Love how microsoft tries fixing it with their dev bash and it does not even work with Node.
  • 0
    @Tribex how come? It works fine for me.
  • 1
    @devilirium Had some oddities with stdin taking invisible input from the prior command's stderr if it exited unexpectedly, but only with a few NPM scripts, only way to fix was to spam enter or close the console. It's also just clunky in terms of UI design. To be fair Terminix has spoiled me. :P
  • 0
    @cornyg What's the issue with Node under Windows Bash? I worked on a personal project and it was running just fine.
  • 1
    @devilirium Some third party CLI scripts installed via. NPM. They were run through NPM scripts, and sometimes when they errored out that would happen. Don't remember which ones ATM.

    I'm looking to try Hyper next time I use Windows.
  • 1
    @Tribex Interesting. I guess the real problem is that not all node packages are truly cross platform, which is a bummer. Otherwise we wouldn't need to run it in bash either. I had to start bash when I was doing some Python 3 dev, just cause they weren't cross platform.
  • 0
    @Ubbe I don't think that he said that it's better. Both of them has their strength. For me, I would rather use Windows on a desktop and Linux on a server. It's just easier for me to get things running on windows and focus on the actual work.
  • 0
    @Ubbe I can assure you that my Windows preaching pales into comparison compared to that of the Linux preachers here.

    OP was posting about cmd prompt when that isn't the modern Windows way.
  • 0
    @drRoss i totally agree with you on that it's kinda outdated. I just want to say i didn't want to preach anything here. It's just that i wanted to grasp that feeling you get when you're confronted with a different OS ;)
    Tbh i don't like all that OS-based chauvinism at all. But that's not want i think you're doing here, just wanted to say it. Also thanks for that active discussion here :3
  • 0
    @baryonicbeing Haha, unfortunately Windows is the underdog in this community and I can't help but stand up for the underdog, especially as I use it on a daily basis.

    Merry Christmas!
  • 1
    @drRoss got a friend who's just doing the same as you. :D It's good to have fighters for the underdog (calling windows an underdog is kinda hard for me but i know what you mean)

    Merry christmas!
  • 0
    Cant remember exact error message since i only have Windows on my desktop, but basically i tried installing node and it would not work. Googled it and a lot of people had the same problem. Couple of months ago though. Would be great if they have fixed it. Will definitely check out after xmas :)@devilirium
Add Comment