|
|
|
|
|
by johnchristopher
1178 days ago
|
|
Hmm. I think it's because `ls -a` will not visually differentiate between files and folders and will also show `.`and `..`. and will span contents over columns while find will return a line by found items. Or they are a show-off. |
|
-A is like -a but will not print . and .. directories.
-1 prints one file per line.
-p appends / to directories.
There's a lot more flags in the man page: https://man7.org/linux/man-pages/man1/ls.1.html