RE: the command "ls -l"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What is the case of block and character file the major and monior character 
number?
Thanks for the info...of the other paramters
Yagnesh.

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx]On Behalf Of Steve Phillips
Sent: Sunday, October 17, 2004 6:05 AM
To: General Red Hat Linux discussion list
Subject: Re: the command "ls -l"


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.

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 10/5/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 10/5/2004

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux