4 ms·
Haha, yeah we probably should have added a caveat that this is only applicable to Unix
by szgupta 4y ago
Haha, yeah we probably should have added a caveat that this is only applicable to Unix
- analog31 4y agoI assumed so, but then I got curious what would happen in a DOS window.
- kkielhofner 4y agoThankfully it works in Powershell on Windows. I lost any muscle memory for `dir` a long long time ago.
- waste_monk 4y agoUntil you hit something like "Get-ChildItem : A parameter cannot be found that matches parameter name 'lh'" and are jarringly reminded that this is not your old friend `ls` after all.
- JdeBP 4y agoThis is why, if I use a shorthand in PowerShell at all, I avoid using "dir", "ls", and the like. "gci" is at least not like any common Unix/BSD/PC-DOS/Windows/OS/2 command.