3 ms·
also, can't be a dos with the 'dir' command.
by mycall 1y ago
also, can't be a dos with the 'dir' command.
- krustowski 1y agoAfaik there is a 'DIR' command in MS-DOS. Anyway, what would be a better command to list a directory? I could think of 'ls' maybe
- rzzzt 1y agoCATALOG, DSPFLR, Get-ChildItem
- onre 1y agoI would most likely end up with something like this: CAT CATalogue - output the contents of current directory RM to Raster Memory - load contents of named file in framebuffer MV Make Virtual - map the file into memory and output the address LS Load System - attempt to reboot using the named file as the kernel CD Create Directory - self-explanatory SH System Halt - immediately stop all processing ...and so on.
- anyfoo 1y agoVery good design. Implements only the essential tasks an operator would need with concise and well-known mnemonics. I’m sure this will be immediately intuitive to anyone, with no potential for mistakes whatsoever.
- OccamsMirror 1y agoI suggest: RM Relocate me - you could also use the "-rf" flag to relative fuzzy matching, for instance `rm -rf tmp` to find any temp-like folder near your current location. Pretty standard stuff. CD Clear data - `cd -L /temp` would "liquidate" the directory. This would be a much simpler command interface.
- koziserek 1y agoLove it.
- GTP 1y agoTo create a file, we should take inspiration from TOPS-10 and call the command `make` [0]. When issuing `make love`, it should ask for confirmation to the user: `not war?`. [0] https://en.wikipedia.org/wiki/Easter_egg_(media) https://en.wikipedia.org/wiki/Easter_egg_(media)
- stuaxo 1y agoCAT was on the Amstrad CPC.
- pjmlp 1y agoAs someone old enough to have started on MS-DOS 3.3, dir has been there all time.
- guestbest 1y agoIt would seem to logically follow that a Disk Operating System would have a directory list utility for disks like ‘dir’. It was there in the first version called 86 DOS. https://en.m.wikipedia.org/wiki/86-DOS https://en.m.wikipedia.org/wiki/86-DOS
- AndrewDavis 1y ago`dir` was also in CP/M. Though it didn't have a concept of a file hierarchy, so it listed all files on the disk (but did support supplying a pattern to filter against).