what does terminal command ls -l show

0 votes

I know that it outputs the "long" version but what do each of the sections mean?

On my mac, when I type in

ls -l /Users 

I get

total 0
drwxr-xr-x+ 33 MaxHarris  staff  1122 Jul  1 14:06 MaxHarris
drwxrwxrwt   8 root       wheel   272 May 20 13:26 Shared
drwxr-xr-x+ 14 admin      staff   476 May 17 11:25 admin
drwxr-xr-x+ 44 hugger     staff  1496 Mar 17 21:13 hugger

I know that the first line it the permissions, although I don't know what the order is. It would be great if that could be explained too. Then whats the number after it?

Basically, what do each one of these things mean? Why are the usernames written twice sometimes and don't match other times?

Apr 27, 2022 in Linux Administration by Edureka
• 13,690 points

edited Mar 4 42 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP