4 ms·
> In particular, files and programs are the same in MS-DOS and Unix. You can, for instance, ls the ls command or cat the cat command. Uh, no you cant: $ ls
by Theriac25 13y ago
> In particular, files and programs are the same in MS-DOS and Unix. You can, for instance, ls the ls command or cat the cat command.
Uh, no you cant:
$ ls ls
ls: cannot access ls: No such file or directory
$ cat cat
cat: cat: No such file or directory
- euccastro 13y ago$ ls $(which ls) $ cat $(which cat)
- vseloved 13y agolooks just like (funcall #'funcall ... ;)
- Avshalom 13y agoIts more like ls /bin/ls you can simply cat cat or ls ls by cd-ing to /bin first... with the caveat that some distros have moved them to /usr/bin or somewhere, hence the 'which'
- moomin 13y agoExactly. File systems resemble modern namespaces, not namespacing by type. You can put an executable and a data file in the same directory, or not. Your choice.