3 ms·
Yes. The ls Unix command.
by hmcamp 4y ago
Yes. The ls Unix command.
- renewiltord 4y agoHaha you got me, but I wouldn't be surprised if there were Unicode issues etc as you have to support modern filesystems Like this https://www.exploit-db.com/exploits/33508 https://www.exploit-db.com/exploits/33508
- Gigachad 4y agoI’m not sure the ls command has to do much if anything to support new file systems since the file system driver should present a standard interface for them.
- 0x457 4y agoThe standard interface for paths on Linux is "bag of bytes", do you want to see bag of bytes or do you want to see human-readable path?
- Aissen 4y agoHere are a few implementations that did not get the memo: coreutils ls: https://git.savannah.gnu.org/cgit/coreutils.git/log/src/ls.c https://git.savannah.gnu.org/cgit/coreutils.git/log/src/ls.c freebsd ls: https://github.com/freebsd/freebsd-src/commits/927f8d8bbbed70f6c88d05c19b5b366f8e7532c9/usr.bin/find/ls.c https://github.com/freebsd/freebsd-src/commits/927f8d8bbbed7... busybox ls: https://git.busybox.net/busybox/log/coreutils/ls.c https://git.busybox.net/busybox/log/coreutils/ls.c openbsd ls: https://github.com/openbsd/src/commits/master/bin/ls/ls.c https://github.com/openbsd/src/commits/master/bin/ls/ls.c The latter seems to be the most stable, yet has been updated two years ago, many years after its first introduction.