Hacker News new | ask | show | jobs
by Akuehne 83 days ago
My most used windows command is, and will always be, `ls`.

Then I'm reminded that it's not a know file or directory.

4 comments

It's been nearly 20 years since powershell came out.
And we had cygwin before that. First thing I always installed on a Windows box so I could use bash and all my favorite utilities.
And it still sucks
Cygwin was so much work but you’re still stuck in windows.
It's 2026, you should not be using command prompt (or batch.) In powershell ls is a built in alias to get-childitem and has been for years, and in recent versions of windows you'd have to go out of your way to get a command prompt (you would have to open a powershell terminal and then run cmd.)
On one our linux machine filesystem became strange, probably because somebody mistyped `ls /bin` as `ln /bin`. I think docs say hardlinking folders is impossible or maybe /bin was a symlink.
Same! Closely followed by 'cat' lol. 'type' just doesn't register in my brain
VMS also uses type to dump a file to stdout.

I understand that DEC TOPS 20 influenced CP/M and MS-DOS, so that could be the source for type.

https://en.wikipedia.org/wiki/TOPS-20

Edit: type has its own wiki, and TOPS-20 implemented it.

https://en.wikipedia.org/wiki/TYPE_(DOS_command)

Back before "type" we had "copy FILE CON".