Explaining more in detail output of "ls -l"
Hi Library Carpentry maintainers,
I was wondering if we could mention/briefly explain what does this output in episode 2 means.
total 0 drwx------+ 6 riley staff 204 Jul 16 11:50 Desktop drwx------+ 3 riley staff 102 Jul 16 11:30 Documents drwx------+ 3 riley staff 102 Jul 16 11:30 Downloads drwx------@ 46 riley staff 1564 Jul 16 11:38 Library drwx------+ 3 riley staff 102 Jul 16 11:30 Movies drwx------+ 3 riley staff 102 Jul 16 11:30 Music drwx------+ 3 riley staff 102 Jul 16 11:30 Pictures drwxr-xr-x+ 5 riley staff 170 Jul 16 11:30 Public
Here we are focused on "ls -l" command, but we do not explain what does "drwx------" or "riley" or "staff", etc. If I was attending this workshop I will ask what all of those things mean, and I believe it would be good to have a short explanation.
Proposed addition: In this output, we can see file permission listed "drwx------+", number of links "3", owner name "riley", group owner name "staff", number of bytes "102", last modified time " Jul 16 11:30" and directory name "Music".
Please let me know what do you think. Thanks.
You are in good company asking about this. The matter was raised in relation to a wider discussion about file permissions and use of cron, but you're right, I think it should be given some more targeted consideration.
For people who have not come across the idea of file permissions and ownership before, I think the explanation might need to be a little longer? You might need an aside box as suggested by @jt14den in the thread for issue #63.