Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What does the number besides the permission represnet? i.e. the 3, 8, and 1's.

alt text

Also, is there a command that combines chown and chgrp ?

share|improve this question
up vote 12 down vote accepted

You can use chown with the group after the user like so: chown user:group.

The number you mention is the number of hard links to a file. It's always at least 1 (itself).

share|improve this answer
+1 for beating me to the punch. ;) – GruffTech Jun 18 '10 at 1:34

The number is the number of links to the inode. Directories have two (.. and .) plus the number of subdirectories (each one has ..). Files have N where N is the number of hard links, where all files have at least one.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.