3 ms·
dir doesn't belong on the list, it is not a useful command. It's nice if you don't remember which os you are using, I make that mistake sometimes, but if you do
by gweinberg 3y ago
dir doesn't belong on the list, it is not a useful command. It's nice if you don't remember which os you are using, I make that mistake sometimes, but if you do remember then there is no reason to use it, ever.
- pprotas 3y agoIt’s definitely lesser-known and a useful command, since listing the contents of the current directory is very useful :) It just happens that there are other popular commands that do the same…
- pxeger1 3y agoThere’s also vdir, which I think is just ls with some different default options
- guenthert 3y ago> It's nice if you don't remember which os you are using Because DOS and Unix are otherwise so alike? Hard to fathom, but be it as it may, a `dir` command not interpreting command line options like DOS's (or CP/M's -- which makes me think that even older OS might have had the directory listing command called `dir`) `dir` won't be of any help. I think `dir` rather should flash the screen and screech out of the speaker to wake you up!