the command "ls -l"

Steve Phillips steve at focb.co.nz
Sun Oct 17 00:34:41 UTC 2004


On Sun, 17 Oct 2004, Yagnesh Gajjar wrote:

> here what d, c, b denote. moreover what 3 stands for
> same command in the directory dev shows different

d = directory
c = character special file
b = block special file

(as described in the previous e-mail)

> -rwxrwxr--  3 root root 13, 345 sep 20 2004 20:23 am test
> -rwxrwxr--  3 root root 27, 3456 sep 20 2004 20:23 am test
> here what does 13 and 27 show....?

Are you sure you copied those correctly ?

the number after the permissions (rwx etc etc) denotes how many hard links 
the file has associated with it, the next two fields denote the user and 
group who own the file, the next field denotes the size of the file, or 
in the case of block and character file the major and monior character 
number, you then have a datge field (that can change dependant on the flag 
used but denotes last accessed time (I think by default)) and then the 
filename.


-- 
Steve.




More information about the redhat-list mailing list