News for hackers. Stuff that matters.
Re:Really Friendly Command Line Intro by nerdponx on Sunday July 08, 2018 @02:39PM (#17485364)
I'm not a fan of the aliasing because the actual CLI for these aliased commands can be very different from the originals.
Re:Really Friendly Command Line Intro by danso on Sunday July 08, 2018 @04:00PM (#17485866)
I was pleasantly surprised when teaching the CLI to discover that PowerShell (and cmd it seems) has similar conventions to bash when it comes to `|` and `>`. But it annoyed the hell out of me that PowerShell aliases `curl` to something that is most definitely not a drop-in replacement for *nix curl. I ended up having to teach people on Windows how to download the proper curl, and then to refer to it as `curl.exe`.
Re:Really Friendly Command Line Intro by captn3m0 on Sunday July 08, 2018 @04:54PM (#17486145)
Re:Really Friendly Command Line Intro by AnIdiotOnTheNet on Sunday July 08, 2018 @07:34PM (#17486911)
Why didn't you teach them how to use Invoke-WebRequest instead?
Re:Really Friendly Command Line Intro by danso on Sunday July 08, 2018 @07:39PM (#17486936)
Because the class also involved students who had Macs.